From unknown Mon Aug 18 14:22:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6326 <6326@debbugs.gnu.org> To: bug#6326 <6326@debbugs.gnu.org> Subject: Status: 23.1.95; `vc-diff' sometimes reports wrong diff status Reply-To: bug#6326 <6326@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:22:03 +0000 retitle 6326 23.1.95; `vc-diff' sometimes reports wrong diff status reassign 6326 emacs submitter 6326 Markus Triska severity 6326 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 01 23:11:37 2010 Received: (at submit) by debbugs.gnu.org; 2 Jun 2010 03:11:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJeMj-0005cU-Mk for submit@debbugs.gnu.org; Tue, 01 Jun 2010 23:11:37 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJeMh-0005cP-67 for submit@debbugs.gnu.org; Tue, 01 Jun 2010 23:11:36 -0400 Received: from lists.gnu.org ([199.232.76.165]:42569) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OJeMd-00064O-IZ for submit@debbugs.gnu.org; Tue, 01 Jun 2010 23:11:31 -0400 Received: from [140.186.70.92] (port=38551 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJeMc-0001Ua-22 for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 23:11:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJeMa-00065v-Uy for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 23:11:29 -0400 Received: from mail.gmx.net ([213.165.64.20]:33556) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OJeMa-00065d-FQ for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2010 23:11:28 -0400 Received: (qmail invoked by alias); 02 Jun 2010 03:11:25 -0000 Received: from mk093111124138.a1.net (EHLO mk093111124138.a1.net) [93.111.124.138] by mail.gmx.net (mp007) with SMTP; 02 Jun 2010 05:11:25 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX1+85zpIIJe8s2UJxfEekjzXq8S5Daf4T2UAQPUSfq MBsOVAfB5HF4OG Received: by mk093111124138.a1.net (Postfix, from userid 502) id A0C6410BA44E; Wed, 2 Jun 2010 05:11:02 +0200 (CEST) From: Markus Triska To: bug-gnu-emacs@gnu.org Subject: 23.1.95; `vc-diff' sometimes reports wrong diff status Date: Wed, 02 Jun 2010 05:11:02 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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). In GNU Emacs 23.1.95.5 (i386-apple-darwin8.11.1, X toolkit, Xaw3d scroll bars) of 2010-04-10 on mt-computer.lan Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--with-x-toolkit=lucid'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 02 05:42:32 2010 Received: (at 6326) by debbugs.gnu.org; 2 Jun 2010 09:42:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJkT1-0000fa-Qm for submit@debbugs.gnu.org; Wed, 02 Jun 2010 05:42:32 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJkT0-0000fU-0S for 6326@debbugs.gnu.org; Wed, 02 Jun 2010 05:42:30 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OJkSx-0007ov-CG; Wed, 02 Jun 2010 05:42:27 -0400 To: Markus Triska Subject: Re: bug#6326: 23.1.95; `vc-diff' sometimes reports wrong diff status References: From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Wed, 02 Jun 2010 05:42:27 -0400 In-Reply-To: (Markus Triska's message of "Wed\, 02 Jun 2010 05\:11\:02 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6326 Cc: 6326@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Markus Triska 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'. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 29 07:15:48 2012 Received: (at 6326) by debbugs.gnu.org; 29 Oct 2012 11:15:48 +0000 Received: from localhost ([127.0.0.1]:37506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSnJr-00078k-R0 for submit@debbugs.gnu.org; Mon, 29 Oct 2012 07:15:48 -0400 Received: from mail-da0-f44.google.com ([209.85.210.44]:61828) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSnJp-00078c-JX for 6326@debbugs.gnu.org; Mon, 29 Oct 2012 07:15:46 -0400 Received: by mail-da0-f44.google.com with SMTP id h15so2290645dan.3 for <6326@debbugs.gnu.org>; Mon, 29 Oct 2012 04:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=E+xDQUZ70jFnSGtLjkpDeUgCAHFBhiRTyMGKl+VYrFI=; b=CbVgkTPlR+8vniCf+eFuyA47Ic0MO+s8ATSIb/1TxxfR3R1oKRedpymno4gHZCqWTG eMcffTIiv2FyzImc3L8zaOBomwrKqFlyi5yY4Wn5cV78Y7VQjgf2/SpHCtr8t06EYY1I Vcy7+U44QGEBIrJLuNMpgwi7nCWzG6YR9RPb9VD5erTCWwE3ZizpKRZ4JGahIpMyFGuI ZAjKvVMy9c2T5IipWaqTlo/RZEP5l/pSktBBUIB6sfdrRT9HXvrXBnlokvKidwMAlz22 JWKUBIawdU7at2h8KMF9a0HZxsyUSexbWSwPYtFFGdgbplM/Ol/3o1tRBdTihTub6S17 2ZUA== Received: by 10.66.80.166 with SMTP id s6mr74287547pax.21.1351509199453; Mon, 29 Oct 2012 04:13:19 -0700 (PDT) Received: from ulysses ([155.69.16.22]) by mx.google.com with ESMTPS id ru4sm5845975pbc.25.2012.10.29.04.13.16 (version=SSLv3 cipher=OTHER); Mon, 29 Oct 2012 04:13:18 -0700 (PDT) From: Chong Yidong To: Dan Nicolaescu Subject: Re: bug#6326: 23.1.95; `vc-diff' sometimes reports wrong diff status References: Date: Mon, 29 Oct 2012 19:13:12 +0800 In-Reply-To: (Dan Nicolaescu's message of "Wed, 02 Jun 2010 05:42:27 -0400") Message-ID: <87objlv8dz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 6326 Cc: 6326@debbugs.gnu.org, Markus Triska X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) Dan Nicolaescu 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 29 07:16:09 2012 Received: (at control) by debbugs.gnu.org; 29 Oct 2012 11:16:09 +0000 Received: from localhost ([127.0.0.1]:37510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSnKD-00079d-56 for submit@debbugs.gnu.org; Mon, 29 Oct 2012 07:16:09 -0400 Received: from mail-da0-f44.google.com ([209.85.210.44]:61828) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSnKB-00078c-5a for control@debbugs.gnu.org; Mon, 29 Oct 2012 07:16:07 -0400 Received: by mail-da0-f44.google.com with SMTP id h15so2290645dan.3 for ; Mon, 29 Oct 2012 04:13:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=EkaUX2owjUOfP6k2AnpA+jS7ZbQF+cTdU77NIJZ3yLE=; b=wL7dWtO1vSLZCK6DTxnQO3sVj+IqIzQlQuDLqFysGvRjDVXVRjPDdbr5/N/iYzIs5m Uz+/XLMDtaVQgen+NGa5+cyHiYpIcuwTbbRx0FwKp2k64IRaPKxVn4nE4K7BTYltHgEx B4uRUSEZSXUzzhJdTB2mNIooScnAN0dvp0ikS37PxPBbwqioKqnmwErLvJIC+n0QUnEo hKu+wcbHfTZzmgzdAxE87dosrp3kposQ1fjZx0Gwz8K+PWZwU8oj3Ko7EKHiFUKKfzgI WlrFozREtwfS2eOqz5WRMP6gBhhMRBWcC07SUYFBobty/hKwBdV12HUuJywVZeqLbD1s lLMw== Received: by 10.66.85.10 with SMTP id d10mr82416076paz.52.1351509221519; Mon, 29 Oct 2012 04:13:41 -0700 (PDT) Received: from ulysses ([155.69.16.22]) by mx.google.com with ESMTPS id o1sm5791198paz.34.2012.10.29.04.13.38 (version=SSLv3 cipher=OTHER); Mon, 29 Oct 2012 04:13:40 -0700 (PDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6326 Date: Mon, 29 Oct 2012 19:13:35 +0800 Message-ID: <87txtdbkf4.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) close 6326 thanks From unknown Mon Aug 18 14:22:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 26 Nov 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator