Re: git-diff: must --exit-code work with --ignore* options?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 30, 2009, 20:11 UTC
- Message-ID
- <7vljl1dpud.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <87skf9uv3r.fsf@meyering.net>
Jim Meyering <jim@meyering.net> writes:
Show 15 quoted lines
> Junio C Hamano wrote: > ... >> Subject: [PATCH] diff --quiet: special case "ignore whitespace" options >> ... >> Change the semantics of --ignore-whitespace* options to mean more than >> "omit showing the difference in text". When these options are used, the >> internal "quick" optimization is turned off, and the status reported with >> the --exit-code option will now match if any the textual diff output is >> actually produced. >> >> Also rename the internal option "QUIET" to "QUICK" to better reflect what >> its true purpose is. > > Thanks again. > If there's anything I can to do help (add a test?), let me know.
The change has been cooking in 'next' and hopefully be in 1.7.0. I think the updated series adds its own test script, too.
Using it in every day scenario, and reporting any breakage you notice before 1.7.0 happens, would be greatly appreciated.
Thanks.