Skip to content

Commit

Permalink
Merge branch 'rt/cherry-revert-conflict-summary' into maint
Browse files Browse the repository at this point in the history
In the older days, the header "Conflicts:" in "cherry-pick" and "merge"
was separated by a blank line from the list of paths that follow for
readability, but when "merge" was rewritten in C, we lost it by
mistake. Remove the newline from "cherry-pick" to make them match again.

By Ralf Thielow
* rt/cherry-revert-conflict-summary:
  sequencer: remove additional blank line
  • Loading branch information
Junio C Hamano committed May 7, 2012
2 parents 71a3222 + 5112068 commit a28b919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sequencer.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static int do_recursive_merge(struct commit *base, struct commit *next,

if (!clean) {
int i;
strbuf_addstr(msgbuf, "\nConflicts:\n\n");
strbuf_addstr(msgbuf, "\nConflicts:\n");
for (i = 0; i < active_nr;) {
struct cache_entry *ce = active_cache[i++];
if (ce_stage(ce)) {
Expand Down

0 comments on commit a28b919

Please sign in to comment.