Re: [PATCH v1 1/1] git diff --quiet exits with 1 on clean tree with CRLF conversions
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 1, 2017, 23:29 UTC
- Message-ID
- <xmqq60jsefuq.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170301212535.GA6878@mcrowe.com>
Mike Crowe <mac@mcrowe.com> writes:
> With the above patch, both "git diff" and "git diff --quiet" report that > there are no changes. Previously Git would report the extra newline > correctly.
I sent an updated one that (I think) fixes the real issue, which the extra would_convert_to_git() calls added in the older iteration to diff_filespec_check_stat_unmatch() were merely papering over.
It would be nice to see if it fixes the issue for you.
Thanks.