git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "git fetch" does not pass quiet setting to "git c"
@ 2014-08-14  4:11 Matthew Flaschen
  0 siblings, 0 replies; only message in thread
From: Matthew Flaschen @ 2014-08-14  4:11 UTC (permalink / raw)
  To: git

"git fetch" does not pass the quiet flag (if applicable) to "git gc".

I've reproduced this in 2.0.1, but it appears to be present in master. 
It looks like this line 
(https://github.com/git/git/blob/master/builtin/fetch.c#L1201) is 
calling "git gc" (which does support --quiet) without passing it.

Tested with:

git fetch -q origin master

I would expect to see no output for that.  Instead, I see:

"Total 31 (delta 23), reused 31 (delta 23)"

(or whatever the values are).

This will cause cronjobs, for example, to send output when the command 
completes normally.

Thanks,

Matthew Flaschen

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-14  4:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-14  4:11 "git fetch" does not pass quiet setting to "git c" Matthew Flaschen

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 NNTP newsgroup(s).