git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Per Cederqvist" <cederp@opera.com>
To: "Santi Béjar" <santi@agolina.net>
Cc: git@vger.kernel.org
Subject: Re: Confusing error message from "git pull" when upstream repo no longer exists
Date: Tue, 29 Jun 2010 13:14:37 +0200	[thread overview]
Message-ID: <op.ve16un100i1pst@centurion> (raw)
In-Reply-To: <AANLkTilbqmedF9Wh3dG3n9HYtuZuq4PzTwOp6T8NCjQ8@mail.gmail.com>

On Tue, 29 Jun 2010 12:55:29 +0200, Santi Béjar <santi@agolina.net> wrote:

> On Tue, Jun 29, 2010 at 12:33 PM, Per Cederqvist <cederp@opera.com>  
> wrote:
>> When running "git pull", I get this error message:
>>
>>    fatal: /usr/local/libexec/git-core/git-pull cannot be used without a
>> working tree.
>
> This error message is shown when you try to pull in a bare repository
> (without a working tree). It seems you don't have a working tree, but
> you have a repository, so you can still fetch. (the working tree check
> is done before the fetch).
>
> HTH,
> Santi

Oh. You are correct. I was in a bare repository, so I guess the message
is good after all. Sorry for my mistaken report.

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

      reply	other threads:[~2010-06-29 11:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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.ve16un100i1pst@centurion \
    --to=cederp@opera.com \
    --cc=git@vger.kernel.org \
    --cc=santi@agolina.net \
    /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).