Re: git checkout creates strange '(null)'-branch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 10, 2012, 16:49 UTC
- Message-ID
- <7v4nronfqd.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CABPQNSbBwpVJUx9BSSO2nqAnPxUESZBz-GEqOPPEyqvdcutb6w@mail.gmail.com>
Erik Faye-Lund <kusmabite@gmail.com> writes:
Show 14 quoted lines
> On Tue, May 8, 2012 at 6:25 PM, Junio C Hamano <gitster@pobox.com> wrote: > ... >> Am I missing some corner cases that we _should_ error out, perhaps for the >> sake of safety? > > I don't know, and I was kind of hoping someone would jump in and > enlighten me of something, but that didn't happen (yet). > > I have a slight preference for this operation, though I'm not > religious; it simply seem more consistent with other "git checkout" > operation. > > Do you want me to prepare a proper patch including a variation of the > test-case from the other patch?
I think an official looking patch would draw more attention from others and may uncover cases we did not anticipate if this turns out to be a bad idea.