Re: [PATCH] rebase: be cleverer with rebased upstream branches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 16, 2011 at 8:07 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Santi Béjar <santi@xxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]