Confusing error message from "git pull" when upstream repo no longer exists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]