git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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

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

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 NNTP newsgroup(s).