Skip to content

Commit

Permalink
diff-cache.c: use the "U <pathname>" format for unmerged entries.
Browse files Browse the repository at this point in the history
This makes it match "show-diff" behaviour.
  • Loading branch information
Linus Torvalds committed Apr 27, 2005
1 parent 0b32ff0 commit a5cd7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static void remove_merge_entries(void)
struct cache_entry *ce = active_cache[i];
if (!ce_stage(ce))
continue;
printf("%s: unmerged\n", ce->name);
printf("U %s%c", ce->name, line_termination);
while (remove_entry_at(i)) {
if (!ce_stage(active_cache[i]))
break;
Expand Down

0 comments on commit a5cd7e1

Please sign in to comment.