Re: [BUG] 'git log --quiet' doesn't suppress the output
- From
Jeff King <peff@peff.net>
- Date
- Feb 6, 2009, 19:11 UTC
- Message-ID
- <20090206191146.GC19494@coredump.intra.peff.net>
- In-Reply-To
- <885649360902041819k4a168407wc57017e6a1c7d00a@mail.gmail.com>
On Wed, Feb 04, 2009 at 07:19:28PM -0700, James Pickens wrote:
> The --quiet switch to 'git log' doesn't suppress the output. It only > does the same as --exit-code.
It suppresses the diff output (which is why it supports --quiet at all: it is a diff option). So
git log -p --quiet
looks just like
git log
making it largely pointless.
It would probably be trivial to for "git log" to see that the quiet switch was given and silence the commit output. But I am having trouble envisioning exactly what that would be useful for (except for being a slower version of "cat /dev/null"). Care to elaborate?
-Peff