Merge branch 'jk/printf-format'
Code clean-up to avoid using a variable string that compilers may feel untrustable as printf-style format given to write_file() helper function. * jk/printf-format: commit.c: remove print_commit_list() avoid using sha1_to_hex output as printf format walker: let walker_say take arbitrary formats
This commit is contained in:
5
bisect.c
5
bisect.c
@ -646,7 +646,10 @@ static void exit_if_skipped_commits(struct commit_list *tried,
|
||||
|
||||
printf("There are only 'skip'ped commits left to test.\n"
|
||||
"The first %s commit could be any of:\n", term_bad);
|
||||
print_commit_list(tried, "%s\n", "%s\n");
|
||||
|
||||
for ( ; tried; tried = tried->next)
|
||||
printf("%s\n", oid_to_hex(&tried->item->object.oid));
|
||||
|
||||
if (bad)
|
||||
printf("%s\n", oid_to_hex(bad));
|
||||
printf(_("We cannot bisect more!\n"));
|
||||
|
||||
Reference in New Issue
Block a user