From: Junio C Hamano Date: Thu, 10 May 2012 16:49:30 GMT Subject: Re: git checkout creates strange '(null)'-branch Message-ID: <7v4nronfqd.fsf@alter.siamese.dyndns.org> In-Reply-To: Erik Faye-Lund writes: > On Tue, May 8, 2012 at 6:25 PM, Junio C Hamano 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.