From: Linus Torvalds Date: Mon, 19 Sep 2005 17:06:09 GMT Subject: Re: nit: missing branch error message Message-ID: In-Reply-To: <7vhdckfw40.fsf@assigned-by-dhcp.cox.net> On Fri, 16 Sep 2005, Junio C Hamano wrote: > Jeff Garzik writes: > > >> [jgarzik@pretzel libata-dev]$ git checkout -f upstream > >> fatal: Needed a single revision > > > > Better error message would be "hey dummy, branch doesn't exist" > > Thanks. Hell no. I'm pissed. [torvalds@g5 linux]$ git checkout -b st-5481 0677b284b827fbac20961037982f2a6459a827a8 hey dummy, branch '0677b284b827fbac20961037982f2a6459a827a8' doesn't exist. This f*cking message needs to go! The old message may have been confused, but it was confused for a really good reason. The new message shows that you didn't understand what "git checkout" does. Linus