Re: [PATCH] rebase: be cleverer with rebased upstream branches
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 16, 2011, 19:07 UTC
- Message-ID
- <7vei77kdce.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <AANLkTinsvfXjVhJfLDeZ+g4skev6bBmJgByyxXW7eO39@mail.gmail.com>
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)?