Merge branch 'rs/cocci'
Code cleanup. * rs/cocci: use strbuf_addstr() for adding constant strings to a strbuf, part 2 add coccicheck make target contrib/coccinelle: fix semantic patch for oid_to_hex_r()
This commit is contained in:
@ -206,7 +206,7 @@ static void output_commit_title(struct merge_options *o, struct commit *commit)
|
||||
find_unique_abbrev(commit->object.oid.hash,
|
||||
DEFAULT_ABBREV));
|
||||
if (parse_commit(commit) != 0)
|
||||
strbuf_addf(&o->obuf, _("(bad commit)\n"));
|
||||
strbuf_addstr(&o->obuf, _("(bad commit)\n"));
|
||||
else {
|
||||
const char *title;
|
||||
const char *msg = get_commit_buffer(commit, NULL);
|
||||
|
Reference in New Issue
Block a user