From: Junio C Hamano Date: Mon, 01 Dec 2014 16:37:32 GMT Subject: Re: [BUG] Documentation: git log: --exit-code undocumented? Message-ID: In-Reply-To: <87wq6bgwl6.fsf@osv.gnss.ru> Sergey Organov writes: > Junio C Hamano writes: > >> Sergey Organov 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.