From: Santi Béjar Date: Wed, 16 Feb 2011 21:16:11 GMT Subject: Re: [PATCH] rebase: be cleverer with rebased upstream branches Message-ID: In-Reply-To: <7vei77kdce.fsf@alter.siamese.dyndns.org> On Wed, Feb 16, 2011 at 8:07 PM, Junio C Hamano wrote: > Santi Béjar writes: > >>> +    oldremoteref=$(git merge-base $curr_branch $oldremoteref $(git >>> rev-list -g $remoteref 2>/dev/null)) > > Yuck; the entire set of commits that appear in reflog can be quite long. > What will happen when this exceeds the shell command line limit or when > you get E2BIG from execve(2)? > Sure, but it was just a proof of concept to test the algorithm. Santi