From: Chong Yidong <cyd@gnu.org>
To: Dan Nicolaescu <dann@gnu.org>
Cc: 6326@debbugs.gnu.org, Markus Triska <markus.triska@gmx.at>
Subject: bug#6326: 23.1.95; `vc-diff' sometimes reports wrong diff status
Date: Mon, 29 Oct 2012 19:13:12 +0800 [thread overview]
Message-ID: <87objlv8dz.fsf@gnu.org> (raw)
In-Reply-To: <yxqk4qhahz0.fsf@fencepost.gnu.org> (Dan Nicolaescu's message of "Wed, 02 Jun 2010 05:42:27 -0400")
Dan Nicolaescu <dann@gnu.org> writes:
>> When I open (in emacs -Q) a file under "git" version control and:
>>
>> 1) view its log with: C-x v l
>> 2) open any previous revision, for example: n n n f
>> 3) save the previous revision under a different name:
>> C-x C-w difrev.txt RET
>> 4) on difrev.txt, run `vc-diff' with: C-x v =
>>
>> it unexpectedly says: "No changes between working revision and
>> workfile". It SHOULD say that the file is NOT under version control.
>> Also other operations like C-x v l should say this but currently don't
>> (C-x v l instead unexpectedly displays the log of the original file).
>
> This because `vc-parent-file' still points to the original file.
> Maybe `vc-file-clearprops' (called from `write-file') should also
> reset `vc-parent-file'.
I think you're right. Done in trunk.
prev parent reply other threads:[~2012-10-29 11:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-02 3:11 bug#6326: 23.1.95; `vc-diff' sometimes reports wrong diff status Markus Triska
2010-06-02 9:42 ` Dan Nicolaescu
2012-10-29 11:13 ` Chong Yidong [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=87objlv8dz.fsf@gnu.org \
--to=cyd@gnu.org \
--cc=6326@debbugs.gnu.org \
--cc=dann@gnu.org \
--cc=markus.triska@gmx.at \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.