From: Junio C Hamano Date: Wed, 16 Feb 2011 19:07:29 GMT Subject: Re: [PATCH] rebase: be cleverer with rebased upstream branches Message-ID: <7vei77kdce.fsf@alter.siamese.dyndns.org> In-Reply-To: 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)?