From: Dan Nicolaescu <dann@gnu.org>
To: Markus Triska <markus.triska@gmx.at>
Cc: 6326@debbugs.gnu.org
Subject: bug#6326: 23.1.95; `vc-diff' sometimes reports wrong diff status
Date: Wed, 02 Jun 2010 05:42:27 -0400 [thread overview]
Message-ID: <yxqk4qhahz0.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m1eigqnn7d.fsf@gmx.at> (Markus Triska's message of "Wed\, 02 Jun 2010 05\:11\:02 +0200")
Markus Triska <markus.triska@gmx.at> 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'.
next prev parent reply other threads:[~2010-06-02 9:42 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 [this message]
2012-10-29 11:13 ` Chong Yidong
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=yxqk4qhahz0.fsf@fencepost.gnu.org \
--to=dann@gnu.org \
--cc=6326@debbugs.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.