submodule.c: write "Fetching submodule <foo>" to stderr
authorJonathan Nieder <redacted>
Wed, 16 Dec 2015 00:04:06 +0000 (16:04 -0800)
committerJunio C Hamano <redacted>
Wed, 16 Dec 2015 20:06:08 +0000 (12:06 -0800)
commitfbf71645d12d30219e88598c4867ef7c2fe48cee
tree95dcd6f64c8111ec096e05449c7c59db453b6f82
parent4b9ab0ee0130090c63da2df83747b7b1d834ad98
submodule.c: write "Fetching submodule <foo>" to stderr

The "Pushing submodule <foo>" progress output correctly goes to
stderr, but "Fetching submodule <foo>" is going to stdout by
mistake.  Fix it to write to stderr.

Noticed while trying to implement a parallel submodule fetch.  When
this particular output line went to a different file descriptor, it
was buffered separately, resulting in wrongly interleaved output if
we copied it to the terminal naively.

Signed-off-by: Jonathan Nieder <redacted>
Signed-off-by: Stefan Beller <redacted>
Signed-off-by: Junio C Hamano <redacted>
submodule.c
t/t5526-fetch-submodules.sh
git clone https://git.99rst.org/PROJECT