Merge branch 'cb/builtin-merge-format-string-fix' into maint
Code clean-up. * cb/builtin-merge-format-string-fix: builtin/merge: avoid -Wformat-extra-args from ancient Xcode
This commit is contained in:
commit
6a0699bccc
@ -862,9 +862,11 @@ static void prepare_to_commit(struct commit_list *remoteheads)
|
||||
strbuf_commented_addf(&msg, "\n");
|
||||
}
|
||||
strbuf_commented_addf(&msg, _(merge_editor_comment));
|
||||
strbuf_commented_addf(&msg, _(cleanup_mode == COMMIT_MSG_CLEANUP_SCISSORS ?
|
||||
scissors_editor_comment :
|
||||
no_scissors_editor_comment), comment_line_char);
|
||||
if (cleanup_mode == COMMIT_MSG_CLEANUP_SCISSORS)
|
||||
strbuf_commented_addf(&msg, _(scissors_editor_comment));
|
||||
else
|
||||
strbuf_commented_addf(&msg,
|
||||
_(no_scissors_editor_comment), comment_line_char);
|
||||
}
|
||||
if (signoff)
|
||||
append_signoff(&msg, ignore_non_trailer(msg.buf, msg.len), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user