Re: git diff/log --check exitcode and PAGER environment variable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 8, 2008, 09:44 UTC
- Message-ID
- <7vfxpfet8a.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <489C145B.5090400@sneakemail.com>
"Peter Valdemar Mørch (Lists)" <4ux6as402@sneakemail.com> writes:
> There is this old thread: > "[PATCH 1/5] "diff --check" should affect exit status" > http://thread.gmane.org/gmane.comp.version-control.git/68145/focus=68148 > which seemed not to reach a conclusion.
Conclusion was (1) if you really care about the exit code, do not use pager; (2) after 1.6.0 we will swap the child/parent between git and pager to expose exit code from us, but not before.
Or am I mistaken?