git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug in "git diff-files"
@ 2011-02-10 17:56 Vampire
  0 siblings, 0 replies; only message in thread
From: Vampire @ 2011-02-10 17:56 UTC (permalink / raw)
  To: git

Hi,

I found a bug in git diff-files.
git diff-files with a --diff-filter and --quiet given behaves bad.
I have a diff-filter of U and one file M and one U.
But diff-lib.c:105-107 in commit 1a9fe45 stops as soon as HAS_CHANGES is 
true.
In my case it found the M file and stops searching as --quiet is given.
But then when applying the diff-filter, this M instance is filtered out 
and thus 0 is returned instead of 1 which is returned with --exit-code 
and without --quiet.

Regards
Björn Kautler

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

only message in thread, other threads:[~2011-02-10 17:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-10 17:56 Bug in "git diff-files" Vampire

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