git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Per Cederqvist" <cederp@opera.com>
To: git@vger.kernel.org
Cc: cederp@opera.com
Subject: Confusing error message from "git pull" when upstream repo no longer exists
Date: Tue, 29 Jun 2010 12:33:16 +0200	[thread overview]
Message-ID: <op.ve14xqlq0i1pst@centurion> (raw)

When running "git pull", I get this error message:

     fatal: /usr/local/libexec/git-core/git-pull cannot be used without a  
working tree.

"git fetch" gives me a much clearer error message:

     fatal: '/var/git/project.git' does not appear to be a git repository
     fatal: The remote end hung up unexpectedly

/var/git/project.git does no longer exist on the origin server, so I
understand why the commands fail.  I think "git pull" should have a
less confusing error message, though.

     /ceder
-- 
Per Cederqvist, cederp@opera.com

             reply	other threads:[~2010-06-29 10:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-29 10:33 Per Cederqvist [this message]
2010-06-29 10:55 ` Confusing error message from "git pull" when upstream repo no longer exists Santi Béjar
2010-06-29 11:14   ` Per Cederqvist

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=op.ve14xqlq0i1pst@centurion \
    --to=cederp@opera.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 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).