diff: --quiet does not imply --exit-code if --diff-filter is present
- From
Yasushi SHOJI <yashi@atmark-techno.com>
- Date
- May 31, 2011, 10:34 UTC
- Message-ID
- <87wrh7jgzk.wl@dns1.atmark-techno.com>
Hi,
just noticed that quiet does not return exit code when I set diff-filter. at the current tip (v1.7.5.3-401-gfb674d7):
git diff --quiet --diff-filter=A v1.7.5 v1.7.5.1 -- t #=> 0 git diff --exit-code --diff-filter=A v1.7.5 v1.7.5.1 -- t #=> 1
these two line returns different exit code.
is this a bug or a feature?
Thanks,
--
yashi