@@ -764,7 +764,7 @@ static int suggest_conflicts(void)fp=fopen(git_path("MERGE_MSG"),"a");if(!fp)-die("Could open %s for writing",git_path("MERGE_MSG"));+die("Could not open %s for writing",git_path("MERGE_MSG"));fprintf(fp,"\nConflicts:\n");for(pos=0;pos<active_nr;pos++){structcache_entry*ce=active_cache[pos];
@@ -764,7 +764,7 @@ static int suggest_conflicts(void)
fp = fopen(git_path("MERGE_MSG"), "a");
if (!fp)
- die("Could open %s for writing", git_path("MERGE_MSG"));
+ die("Could not open %s for writing", git_path("MERGE_MSG"));
On second thought this commit message should probably read something more like:
builtin-merge.c: correct error message for failed open
Since the original message is actually wrong.