We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b81a85e + 00e302d commit 669277cCopy full SHA for 669277c
builtin/merge.c
@@ -862,9 +862,11 @@ static void prepare_to_commit(struct commit_list *remoteheads)
862
strbuf_commented_addf(&msg, "\n");
863
}
864
strbuf_commented_addf(&msg, _(merge_editor_comment));
865
- strbuf_commented_addf(&msg, _(cleanup_mode == COMMIT_MSG_CLEANUP_SCISSORS ?
866
- scissors_editor_comment :
867
- no_scissors_editor_comment), comment_line_char);
+ if (cleanup_mode == COMMIT_MSG_CLEANUP_SCISSORS)
+ strbuf_commented_addf(&msg, _(scissors_editor_comment));
+ else
868
+ strbuf_commented_addf(&msg,
869
+ _(no_scissors_editor_comment), comment_line_char);
870
871
if (signoff)
872
append_signoff(&msg, ignore_non_trailer(msg.buf, msg.len), 0);
0 commit comments