* nit: missing branch error message
@ 2005-09-16 6:35 Jeff Garzik
2005-09-16 23:09 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Garzik @ 2005-09-16 6:35 UTC (permalink / raw
To: Git Mailing List
Just tried accidentally to check out a non-existent branch:
> [jgarzik@pretzel libata-dev]$ git checkout -f upstream
> fatal: Needed a single revision
> [jgarzik@pretzel libata-dev]$ ls .git/refs/heads/
> adma chs-support master pata-drivers sil24-original vsc-mwi
> adma-mwi iomap ncq promise-sata-pata sil-lbt
> ALL iomap-step1 passthru sil24 upstream-fixes
Better error message would be "hey dummy, branch doesn't exist"
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: nit: missing branch error message
2005-09-16 6:35 nit: missing branch error message Jeff Garzik
@ 2005-09-16 23:09 ` Junio C Hamano
2005-09-19 17:06 ` Linus Torvalds
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2005-09-16 23:09 UTC (permalink / raw
To: Jeff Garzik; +Cc: git
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: nit: missing branch error message
2005-09-16 23:09 ` Junio C Hamano
@ 2005-09-19 17:06 ` Linus Torvalds
0 siblings, 0 replies; 3+ messages in thread
From: Linus Torvalds @ 2005-09-19 17:06 UTC (permalink / raw
To: Junio C Hamano; +Cc: Jeff Garzik, git
On Fri, 16 Sep 2005, Junio C Hamano wrote:
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-19 17:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-16 6:35 nit: missing branch error message Jeff Garzik
2005-09-16 23:09 ` Junio C Hamano
2005-09-19 17:06 ` Linus Torvalds
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).