From: Junio C Hamano Date: Wed, 29 Feb 2012 04:51:29 GMT Subject: Re: [PATCH v7 02/10] Stop starting pager recursively Message-ID: <7vaa42w8by.fsf@alter.siamese.dyndns.org> In-Reply-To: Nguyen Thai Ngoc Duy writes: > On Wed, Feb 29, 2012 at 10:37 AM, Junio C Hamano wrote: >> Nguyen Thai Ngoc Duy writes: >> >>> It does improve that situation, or at least it stops git from forking >>> frantically. >> >> That "at least" sounds suspicious ;-) Do you mean that there is other >> breakages in that mode of operation? > > Well, "shortlog -p" did not run $PAGER (i.e. less). I haven't had time > to dig further. Ok. for that matter, $ GIT_PAGER="git -p column" git tag --list does not seem to use pager, either, so that may not be limited to shortlog, but in any case, I can see how the current code without your patch can fall into a fork loop, and your patch is an improvement, even if it may not yet be the whole solution.