git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Submodule init uses STDERR output
@ 2020-05-23 22:44 Michal Vrana
  2020-05-23 23:23 ` brian m. carlson
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Vrana @ 2020-05-23 22:44 UTC (permalink / raw)
  To: git

Hello,
I've come across an issue that seems like a bug to me. If I clone a
repository with a submodule but want to initialize it separately, then
the error output is used during this initialization for what seems to
be a standard message.
Motivation:
Cannot use - Fail on standard error setting in a devops pipeline

Steps to reproduce:
1. git clone
2. git submodule init 2>err.txt

The err.txt contains a message like
Submodule 'xyz' (xyz.git) registered for path 'abc'
From what I've read this is the standard output in this case. And if
not then why when I use "quiet" mode then the error output is empty.
So why is the error output even used?

Platforms reproduced on:
git version 2.26.2.windows.1 - Windows server
git version 2.19.0.windows.1 - gitbash - Windows 10
git version 2.17.1 Ubuntu (Windows subsystem)

Thanks,
Michal Vrana

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-23 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-23 22:44 Submodule init uses STDERR output Michal Vrana
2020-05-23 23:23 ` brian m. carlson

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).