git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* diff: --quiet does not imply --exit-code if --diff-filter is present
@ 2011-05-31 10:34 Yasushi SHOJI
  2011-05-31 15:33 ` Jeff King
  0 siblings, 1 reply; 8+ messages in thread
From: Yasushi SHOJI @ 2011-05-31 10:34 UTC (permalink / raw)
  To: git

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

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

end of thread, other threads:[~2011-06-01  9:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-31 10:34 diff: --quiet does not imply --exit-code if --diff-filter is present Yasushi SHOJI
2011-05-31 15:33 ` Jeff King
2011-05-31 15:46   ` Junio C Hamano
2011-05-31 16:25     ` Jeff King
2011-05-31 17:06       ` Re* " Junio C Hamano
2011-05-31 17:14         ` Jeff King
2011-05-31 17:36           ` Junio C Hamano
2011-06-01  9:41   ` Yasushi SHOJI

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).