All of lore.kernel.org
 help / color / mirror / Atom feed
* "--quiet" for git-push does not suppress remote hook output
@ 2020-05-07 12:05 Laszlo Ersek
  2020-05-07 12:16 ` Laszlo Ersek
  0 siblings, 1 reply; 4+ messages in thread
From: Laszlo Ersek @ 2020-05-07 12:05 UTC (permalink / raw)
  To: public git mailing list

Hi,

being a total novice in git internals, it seems like
"builtin/receive-pack.c" (on the server) forwards any receive hook
output with copy_to_sideband() back to git-push (on the client), even if
git-push was invoked with "--quiet".

And "case 2" in demultiplex_sideband() seems to print that "band" to
stderr (on the client), despite "--quiet".

Is this intentional? I'd prefer "git push --quiet" to suppress remote
hook output (unless the remote hook fails).

Thanks!
Laszlo


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 12:05 "--quiet" for git-push does not suppress remote hook output Laszlo Ersek
2020-05-07 12:16 ` Laszlo Ersek
2020-05-07 21:02   ` Jeff King
2020-05-08  9:50     ` Laszlo Ersek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.