Re: nit: missing branch error message
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Sep 19, 2005, 17:06 UTC
- Message-ID
- <Pine.LNX.4.58.0509191005040.9106@g5.osdl.org>
- In-Reply-To
- <7vhdckfw40.fsf@assigned-by-dhcp.cox.net>
On Fri, 16 Sep 2005, Junio C Hamano wrote:
Show 8 quoted lines
> Jeff Garzik <jgarzik@pobox.com> 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