Re: Operations on unborn branch
- From
Martin von Zweigbergk <martinvonz@gmail.com>
- Date
- Nov 30, 2012, 16:39 UTC
- Message-ID
- <CANiSa6hpztn4gRX+-azuiD2+jrMUcCteqzeXkSdDudsEfz54Mg@mail.gmail.com>
- In-Reply-To
- <7vd2yyi4l1.fsf@alter.siamese.dyndns.org>
On Tue, Nov 27, 2012 at 11:12 PM, Junio C Hamano <gitster@pobox.com> wrote:
> > You have to special case the edges whichever way you go. [...]
If I understand you correctly, you're saying that revision walking would need a different special case. This is the most obvious difference, it seems. "git show" would also need different special-casing. But rebase wouldn't need --root, diff-tree wouldn't need --root, any operations on an unborn branch would just work (incl reset, cherry-pick).
Again, this is hypothetical, so I'll stop the complaining now :-)