summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-09-12 15:34:38 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-12 15:34:38 -0700
commitbbc143e096e79d0aa86cf2f3e5bddd387ffb4ce0 (patch)
treefba3eb43b1cdde5c0201287b16b295fee295b495
parentMerge branch 'ep/use-git-trace-curl-in-tests' (diff)
parenttransport: report missing submodule pushes consistently on stderr (diff)
downloadtgif-bbc143e096e79d0aa86cf2f3e5bddd387ffb4ce0.tar.xz
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
-rw-r--r--transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.c b/transport.c
index cf8de6e888..94d6dc3725 100644
--- a/transport.c
+++ b/transport.c
@@ -771,7 +771,7 @@ static void die_with_unpushed_submodules(struct string_list *needs_pushing)
fprintf(stderr, _("The following submodule paths contain changes that can\n"
"not be found on any remote:\n"));
for (i = 0; i < needs_pushing->nr; i++)
- printf(" %s\n", needs_pushing->items[i].string);
+ fprintf(stderr, " %s\n", needs_pushing->items[i].string);
fprintf(stderr, _("\nPlease try\n\n"
" git push --recurse-submodules=on-demand\n\n"
"or cd to the path and use\n\n"