@@ -455,7 +455,7 @@ static const char *prepare_index(const char **argv, const char *prefix,
455
455
refresh_cache_or_die (refresh_flags );
456
456
cache_tree_update (& the_index , WRITE_TREE_SILENT );
457
457
if (write_locked_index (& the_index , & index_lock , 0 ))
458
- die (_ ("unable to write new_index file" ));
458
+ die (_ ("unable to write new index file" ));
459
459
commit_style = COMMIT_NORMAL ;
460
460
ret = get_lock_file_path (& index_lock );
461
461
goto out ;
@@ -479,7 +479,7 @@ static const char *prepare_index(const char **argv, const char *prefix,
479
479
cache_tree_update (& the_index , WRITE_TREE_SILENT );
480
480
if (write_locked_index (& the_index , & index_lock ,
481
481
COMMIT_LOCK | SKIP_IF_UNCHANGED ))
482
- die (_ ("unable to write new_index file" ));
482
+ die (_ ("unable to write new index file" ));
483
483
commit_style = COMMIT_AS_IS ;
484
484
ret = get_index_file ();
485
485
goto out ;
@@ -527,7 +527,7 @@ static const char *prepare_index(const char **argv, const char *prefix,
527
527
refresh_index (& the_index , REFRESH_QUIET , NULL , NULL , NULL );
528
528
cache_tree_update (& the_index , WRITE_TREE_SILENT );
529
529
if (write_locked_index (& the_index , & index_lock , 0 ))
530
- die (_ ("unable to write new_index file" ));
530
+ die (_ ("unable to write new index file" ));
531
531
532
532
hold_lock_file_for_update (& false_lock ,
533
533
git_path ("next-index-%" PRIuMAX ,
@@ -1862,7 +1862,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
1862
1862
1863
1863
if (commit_index_files ())
1864
1864
die (_ ("repository has been updated, but unable to write\n"
1865
- "new_index file. Check that disk is not full and quota is\n"
1865
+ "new index file. Check that disk is not full and quota is\n"
1866
1866
"not exceeded, and then \"git restore --staged :/\" to recover." ));
1867
1867
1868
1868
git_test_write_commit_graph_or_die ();
0 commit comments