@@ -336,7 +336,7 @@ static int edit_patch(int argc, const char **argv, const char *prefix)
336
336
git_config (git_diff_basic_config , NULL ); /* no "diff" UI options */
337
337
338
338
if (read_cache () < 0 )
339
- die (_ ("Could not read the index" ));
339
+ die (_ ("Could not read the index" ));
340
340
341
341
init_revisions (& rev , prefix );
342
342
rev .diffopt .context = 7 ;
@@ -347,11 +347,11 @@ static int edit_patch(int argc, const char **argv, const char *prefix)
347
347
DIFF_OPT_SET (& rev .diffopt , IGNORE_DIRTY_SUBMODULES );
348
348
out = open (file , O_CREAT | O_WRONLY , 0666 );
349
349
if (out < 0 )
350
- die (_ ("Could not open '%s' for writing." ), file );
350
+ die (_ ("Could not open '%s' for writing." ), file );
351
351
rev .diffopt .file = xfdopen (out , "w" );
352
352
rev .diffopt .close_file = 1 ;
353
353
if (run_diff_files (& rev , 0 ))
354
- die (_ ("Could not write patch" ));
354
+ die (_ ("Could not write patch" ));
355
355
356
356
launch_editor (file , NULL , NULL );
357
357
@@ -364,7 +364,7 @@ static int edit_patch(int argc, const char **argv, const char *prefix)
364
364
child .git_cmd = 1 ;
365
365
child .argv = apply_argv ;
366
366
if (run_command (& child ))
367
- die (_ ("Could not apply '%s'" ), file );
367
+ die (_ ("Could not apply '%s'" ), file );
368
368
369
369
unlink (file );
370
370
free (file );
@@ -598,7 +598,7 @@ int cmd_add(int argc, const char **argv, const char *prefix)
598
598
599
599
unplug_bulk_checkin ();
600
600
601
- finish :
601
+ finish :
602
602
if (active_cache_changed ) {
603
603
if (write_cache (newfd , active_cache , active_nr ) ||
604
604
commit_locked_index (& lock_file ))
0 commit comments