Re: [BUG] Documentation: git log: --exit-code undocumented?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 1, 2014, 16:37 UTC
- Message-ID
- <xmqqa937qqb7.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <87wq6bgwl6.fsf@osv.gnss.ru>
Sergey Organov <sorganov@gmail.com> writes:
Show 15 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > >> Sergey Organov <sorganov@gmail.com> writes: >> >>> Hello, >>> >>> $ git help log | grep exit-code >>> problems are found. Not compatible with --exit-code. >>> $ >>> >>> What --exit-code does in "git log"? >> >> It doesn't. That is why it is not listed. > > Then, how can --check possibly interfer with it?
The description is shared with "git diff" and friends, which is invoked via "git log -p". As "log" does not give the exit code of individual "diff-tree" invocation for each commit, --exit-code option is irrelevant.