@@ -182,7 +182,7 @@ static int edit_patch(int argc, const char **argv, const char *prefix)
182182 git_config (git_diff_basic_config , NULL ); /* no "diff" UI options */
183183
184184 if (repo_read_index (the_repository ) < 0 )
185- die (_ ("Could not read the index" ));
185+ die (_ ("could not read the index" ));
186186
187187 repo_init_revisions (the_repository , & rev , prefix );
188188 rev .diffopt .context = 7 ;
@@ -200,15 +200,15 @@ static int edit_patch(int argc, const char **argv, const char *prefix)
200200 die (_ ("editing patch failed" ));
201201
202202 if (stat (file , & st ))
203- die_errno (_ ("Could not stat '%s'" ), file );
203+ die_errno (_ ("could not stat '%s'" ), file );
204204 if (!st .st_size )
205- die (_ ("Empty patch. Aborted. " ));
205+ die (_ ("empty patch. aborted " ));
206206
207207 child .git_cmd = 1 ;
208208 strvec_pushl (& child .args , "apply" , "--recount" , "--cached" , file ,
209209 NULL );
210210 if (run_command (& child ))
211- die (_ ("Could not apply '%s'" ), file );
211+ die (_ ("could not apply '%s'" ), file );
212212
213213 unlink (file );
214214 free (file );
@@ -568,7 +568,7 @@ int cmd_add(int argc, const char **argv, const char *prefix)
568568finish :
569569 if (write_locked_index (& the_index , & lock_file ,
570570 COMMIT_LOCK | SKIP_IF_UNCHANGED ))
571- die (_ ("Unable to write new index file" ));
571+ die (_ ("unable to write new index file" ));
572572
573573 dir_clear (& dir );
574574 clear_pathspec (& pathspec );
0 commit comments