git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Carlos Martín Nieto" <cmn@elego.de>
To: Stefano Lattarini <stefano.lattarini@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [BUG] "git diff FILE BRANCH:FILE" erroneously report FILE does not exist in BRANCH
Date: Sat, 21 Jan 2012 22:33:28 +0100	[thread overview]
Message-ID: <1327181608.31804.27.camel@centaur.lab.cmartin.tk> (raw)
In-Reply-To: <4F1B13BB.8070603@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]

On Sat, 2012-01-21 at 20:36 +0100, Stefano Lattarini wrote:
> I'd expect the last "git diff" to report the same diffs as the previous one;
> instead, it errors out with this bogus message:
> 
>   fatal: Path 'README' exists on disk, but not in 'master'.
> 
> Behaviour verified with git version 1.7.7.3 (installed from official Debian
> packages) and the latest git development version (1.7.9.rc0.69.gbddcef, from
> master).
> 

See http://thread.gmane.org/gmane.comp.version-control.git/188355 for
earlier discussion. I haven't gotten around to see if I can fix it
without upsetting too much code.

   cmn

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2012-01-21 21:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-21 19:36 [BUG] "git diff FILE BRANCH:FILE" erroneously report FILE does not exist in BRANCH Stefano Lattarini
2012-01-21 21:33 ` Carlos Martín Nieto [this message]
2012-01-21 22:08 ` Junio C Hamano

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=1327181608.31804.27.camel@centaur.lab.cmartin.tk \
    --to=cmn@elego.de \
    --cc=git@vger.kernel.org \
    --cc=stefano.lattarini@gmail.com \
    /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).