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:
@ -860,8 +860,9 @@ static int update_clone_get_next_task(struct child_process *child,
|
||||
ce = suc->failed_clones[index];
|
||||
if (!prepare_to_clone_next_submodule(ce, child, suc, err)) {
|
||||
suc->current ++;
|
||||
strbuf_addf(err, "BUG: submodule considered for cloning,"
|
||||
"doesn't need cloning any more?\n");
|
||||
strbuf_addstr(err, "BUG: submodule considered for "
|
||||
"cloning, doesn't need cloning "
|
||||
"any more?\n");
|
||||
return 0;
|
||||
}
|
||||
p = xmalloc(sizeof(*p));
|
||||
|
Reference in New Issue
Block a user