git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Confusing error message from "git pull" when upstream repo no longer exists
@ 2010-06-29 10:33 Per Cederqvist
  2010-06-29 10:55 ` Santi Béjar
  0 siblings, 1 reply; 3+ messages in thread
From: Per Cederqvist @ 2010-06-29 10:33 UTC (permalink / raw)
  To: git; +Cc: cederp

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-29 11:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 10:33 Confusing error message from "git pull" when upstream repo no longer exists Per Cederqvist
2010-06-29 10:55 ` Santi Béjar
2010-06-29 11:14   ` Per Cederqvist

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).