Re: [PATCH] rebase: be cleverer with rebased upstream branches
On Wed, Feb 16, 2011 at 8:07 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> Santi Béjar <santi@agolina.net> 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