[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6326: 23.1.95; `vc-diff' sometimes reports wrong diff status
From: |
Chong Yidong |
Subject: |
bug#6326: 23.1.95; `vc-diff' sometimes reports wrong diff status |
Date: |
Mon, 29 Oct 2012 19:13:12 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
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 in Thread] |
Current Thread |
[Next in Thread] |
- bug#6326: 23.1.95; `vc-diff' sometimes reports wrong diff status,
Chong Yidong <=