From: Jeff King Date: Wed, 12 Jan 2011 17:27:51 GMT Subject: Re: bug? in checkout with ambiguous refnames Message-ID: <20110112172751.GA31747@sigill.intra.peff.net> In-Reply-To: <7vd3o232xk.fsf@alter.siamese.dyndns.org> On Wed, Jan 12, 2011 at 01:07:51AM -0800, Junio C Hamano wrote: > Jeff King writes: > > > I'm not sure. And to be honest I don't really care, because I think > > people with ambiguous refs are little bit crazy anyway (after all, in > > the current code it simply calls die()). But I think there is some > > argument to be made that due to tracking, start_point is not _just_ > > a regular ref. We do care about its branchiness. > > I do not really care either myself, and if > > git branch --track foo heads/ambiguity > git branch --track foo tags/ambiguity > > allows the user to differentiate between the branch and the tag, it would > be more than sufficient. It does already. So I am inclined to leave it alone, then. I doubt anyone actually cares, and if they do, they will get an error message, after which they can manually disambiguate themselves. So let's leave it at the mega-patch I posted earlier. -Peff