Skip to content

Commit bbc143e

Browse files
committed
Merge branch 'sb/transport-report-missing-submodule-on-stderr'
Message cleanup. * sb/transport-report-missing-submodule-on-stderr: transport: report missing submodule pushes consistently on stderr
2 parents 930b67e + 5cb5fe4 commit bbc143e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ static void die_with_unpushed_submodules(struct string_list *needs_pushing)
771771
fprintf(stderr, _("The following submodule paths contain changes that can\n"
772772
"not be found on any remote:\n"));
773773
for (i = 0; i < needs_pushing->nr; i++)
774-
printf(" %s\n", needs_pushing->items[i].string);
774+
fprintf(stderr, " %s\n", needs_pushing->items[i].string);
775775
fprintf(stderr, _("\nPlease try\n\n"
776776
" git push --recurse-submodules=on-demand\n\n"
777777
"or cd to the path and use\n\n"

0 commit comments

Comments
 (0)