All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: nit: missing branch error message
Date: Fri, 16 Sep 2005 02:35:47 -0400	[thread overview]
Message-ID: <432A67C3.2010205@pobox.com> (raw)

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

             reply	other threads:[~2005-09-16  6:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-16  6:35 Jeff Garzik [this message]
2005-09-16 23:09 ` nit: missing branch error message Junio C Hamano
2005-09-19 17:06   ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=432A67C3.2010205@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.