Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
transport: report missing submodule pushes consistently on stderr
author
Stefan Beller
<sbeller@google.com>
Tue, 23 Aug 2016 21:40:08 +0000
(14:40 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 8 Sep 2016 20:28:15 +0000
(13:28 -0700)
The surrounding advice is printed to stderr, but the list of submodules
is not. Make the report consistent by reporting everything to stderr.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
6ebdac1
)
diff --git
a/transport.c
b/transport.c
index cf8de6e888fc5ce577c7319fce089245d6c36be3..94d6dc3725a2bb091df66ce6fe266ddd5317ed02 100644
(file)
--- 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"