@@ -182,7 +182,7 @@ static int edit_patch(int argc, const char **argv, const char *prefix)
182
182
git_config (git_diff_basic_config , NULL ); /* no "diff" UI options */
183
183
184
184
if (repo_read_index (the_repository ) < 0 )
185
- die (_ ("Could not read the index" ));
185
+ die (_ ("could not read the index" ));
186
186
187
187
repo_init_revisions (the_repository , & rev , prefix );
188
188
rev .diffopt .context = 7 ;
@@ -200,15 +200,15 @@ static int edit_patch(int argc, const char **argv, const char *prefix)
200
200
die (_ ("editing patch failed" ));
201
201
202
202
if (stat (file , & st ))
203
- die_errno (_ ("Could not stat '%s'" ), file );
203
+ die_errno (_ ("could not stat '%s'" ), file );
204
204
if (!st .st_size )
205
- die (_ ("Empty patch. Aborted. " ));
205
+ die (_ ("empty patch. aborted " ));
206
206
207
207
child .git_cmd = 1 ;
208
208
strvec_pushl (& child .args , "apply" , "--recount" , "--cached" , file ,
209
209
NULL );
210
210
if (run_command (& child ))
211
- die (_ ("Could not apply '%s'" ), file );
211
+ die (_ ("could not apply '%s'" ), file );
212
212
213
213
unlink (file );
214
214
free (file );
@@ -566,7 +566,7 @@ int cmd_add(int argc, const char **argv, const char *prefix)
566
566
finish :
567
567
if (write_locked_index (& the_index , & lock_file ,
568
568
COMMIT_LOCK | SKIP_IF_UNCHANGED ))
569
- die (_ ("Unable to write new index file" ));
569
+ die (_ ("unable to write new index file" ));
570
570
571
571
dir_clear (& dir );
572
572
clear_pathspec (& pathspec );
0 commit comments