Re: [PATCH] diff: exit(1) if 'diff --quiet <repo file> <external file>' finds changes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 15, 2012, 20:44 UTC
- Message-ID
- <7vaa049uex.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120615202441.GA12163@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> 2. If --check is used, then we will not be compatible with diff(1) in > our exit code. But diff(1) does not have --check in the first > place, so there is no point in us trying to be a drop-in > replacement.
Sounds sensible. Thanks.