From unknown Sat Sep 06 20:03:31 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#5078 <5078@debbugs.gnu.org> To: bug#5078 <5078@debbugs.gnu.org> Subject: Status: 23.1.50; vc broken Reply-To: bug#5078 <5078@debbugs.gnu.org> Date: Sun, 07 Sep 2025 03:03:31 +0000 retitle 5078 23.1.50; vc broken reassign 5078 emacs submitter 5078 Leo severity 5078 normal thanks From sl392@cam.ac.uk Mon Nov 30 03:44:40 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Nov 2009 11:44:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.2 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUBicD5001508 for ; Mon, 30 Nov 2009 03:44:40 -0800 Received: from mx10.gnu.org ([199.232.76.166]:37066) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NF4gI-00006U-9E for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 06:44:38 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NF4gH-00033u-2X for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 06:44:38 -0500 Received: from ppsw-6.csi.cam.ac.uk ([131.111.8.136]:44355) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NF4gG-00033Z-Pa for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 06:44:36 -0500 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from lapwing-gw-1.csx.cam.ac.uk ([131.111.1.66]:62719 helo=victoria.local) by ppsw-6.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NF4gE-0004oI-KY (Exim 4.70) for emacs-pretest-bug@gnu.org (return-path ); Mon, 30 Nov 2009 11:44:34 +0000 From: Leo To: emacs-pretest-bug@gnu.org Subject: 23.1.50; vc broken Date: Mon, 30 Nov 2009 11:44:32 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': For files that are placed in a subdirectory (where there's no .git) of a git repo, vc now thinks a file unchanged even if there are changes. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Applications/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-11-27 on victoria.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns'' 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: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t From dann@godzilla.ics.uci.edu Mon Nov 30 08:46:32 2009 Received: (at 5078) by emacsbugs.donarmstrong.com; 30 Nov 2009 16:46:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.8 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from colin-baker-v0.ics.uci.edu (colin-baker-v0.ics.uci.edu [128.195.1.153]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUGkVwH001357 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 08:46:32 -0800 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nAUGkIbk022717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Nov 2009 08:46:18 -0800 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nAUGkHKB014645; Mon, 30 Nov 2009 08:46:17 -0800 (PST) Date: Mon, 30 Nov 2009 08:46:17 -0800 (PST) Message-Id: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Leo Cc: 5078@debbugs.gnu.org Subject: Re: bug#5078: 23.1.50; vc broken References: X-Debbugs-No-Ack: yes In-Reply-To: (Leo's message of "Mon, 30 Nov 2009 11:44:32 +0000") Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nAUGkIbk022717 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Leo writes: > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug. If you can, give > a recipe starting from `emacs -Q': > > For files that are placed in a subdirectory (where there's no .git) of a > git repo, vc now thinks a file unchanged even if there are changes. Can you please send a detailed recipe starting from emacs -Q of how to reproduce this? From sl392@hermes.cam.ac.uk Mon Nov 30 11:08:53 2009 Received: (at 5078) by emacsbugs.donarmstrong.com; 30 Nov 2009 19:08:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ppsw-5.csi.cam.ac.uk (ppsw-5.csi.cam.ac.uk [131.111.8.135]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUJ8ptY015252 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 11:08:53 -0800 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc2-cmbg15-2-0-cust694.5-4.cable.virginmedia.com ([86.26.14.183]:65024 helo=victoria.local) by ppsw-5.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.155]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NFBcA-0005dM-I5 (Exim 4.70) for 5078@emacsbugs.donarmstrong.com (return-path ); Mon, 30 Nov 2009 19:08:50 +0000 From: Leo To: 5078@debbugs.gnu.org Subject: Re: bug#5078: 23.1.50; vc broken References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> Date: Mon, 30 Nov 2009 19:08:50 +0000 In-Reply-To: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 30 Nov 2009 08:46:17 -0800 (PST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" On 2009-11-30 16:46 +0000, Dan Nicolaescu wrote: > Leo writes: > > > Please describe exactly what actions triggered the bug > > and the precise symptoms of the bug. If you can, give > > a recipe starting from `emacs -Q': > > > > For files that are placed in a subdirectory (where there's no .git) of a > > git repo, vc now thinks a file unchanged even if there are changes. > > Can you please send a detailed recipe starting from emacs -Q of how to > reproduce this? I think I am seeing an odd bug. There's a file in one of my projects that Emacs (with -Q) VC can't see its changes. However, I can use magit to see its changes without any problem. I tried to reproduce this problem with a newly created git repo but with no luck. Could you let me know how I can debug this further? Thanks. Leo From dann@godzilla.ics.uci.edu Mon Nov 30 12:00:09 2009 Received: (at 5078) by emacsbugs.donarmstrong.com; 30 Nov 2009 20:00:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.8 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from paul-mcgann-v0.ics.uci.edu (paul-mcgann-v0.ics.uci.edu [128.195.1.147]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUK087V019633 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 12:00:09 -0800 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nAUJxuH9011372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Nov 2009 11:59:56 -0800 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nAUJxuNO016161; Mon, 30 Nov 2009 11:59:56 -0800 (PST) Date: Mon, 30 Nov 2009 11:59:56 -0800 (PST) Message-Id: <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Leo Cc: 5078@debbugs.gnu.org Subject: Re: bug#5078: 23.1.50; vc broken References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> X-Debbugs-No-Ack: yes In-Reply-To: (Leo's message of "Mon, 30 Nov 2009 19:08:50 +0000") Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nAUJxuH9011372 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Leo writes: > On 2009-11-30 16:46 +0000, Dan Nicolaescu wrote: > > Leo writes: > > > > > Please describe exactly what actions triggered the bug > > > and the precise symptoms of the bug. If you can, give > > > a recipe starting from `emacs -Q': > > > > > > For files that are placed in a subdirectory (where there's no .git) of a > > > git repo, vc now thinks a file unchanged even if there are changes. > > > > Can you please send a detailed recipe starting from emacs -Q of how to > > reproduce this? > > I think I am seeing an odd bug. > > There's a file in one of my projects that Emacs (with -Q) VC can't see > its changes. However, I can use magit to see its changes without any > problem. I tried to reproduce this problem with a newly created git repo > but with no luck. > > Could you let me know how I can debug this further? Thanks. With the file that you have problems with in the current buffer, try to debug: M-: (vc-git-state (buffer-file-name)) RET From sl392@hermes.cam.ac.uk Mon Nov 30 15:33:06 2009 Received: (at 5078) by emacsbugs.donarmstrong.com; 30 Nov 2009 23:33:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.2 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ppsw-0.csi.cam.ac.uk (ppsw-0.csi.cam.ac.uk [131.111.8.130]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUNX4V9006836 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 15:33:05 -0800 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc2-cmbg15-2-0-cust694.5-4.cable.virginmedia.com ([86.26.14.183]:65309 helo=victoria.local) by ppsw-0.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.150]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NFFjr-0002wM-1d (Exim 4.70) (return-path ); Mon, 30 Nov 2009 23:33:03 +0000 From: Leo To: Dan Nicolaescu Cc: 5078@debbugs.gnu.org Subject: Re: bug#5078: 23.1.50; vc broken References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> Date: Mon, 30 Nov 2009 23:33:02 +0000 In-Reply-To: <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 30 Nov 2009 11:59:56 -0800 (PST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" On 2009-11-30 19:59 +0000, Dan Nicolaescu wrote: [...] > > I think I am seeing an odd bug. > > > > There's a file in one of my projects that Emacs (with -Q) VC can't see > > its changes. However, I can use magit to see its changes without any > > problem. I tried to reproduce this problem with a newly created git repo > > but with no luck. > > > > Could you let me know how I can debug this further? Thanks. > > > With the file that you have problems with in the current buffer, try to debug: > > M-: (vc-git-state (buffer-file-name)) RET That returns: up-to-date while the difference is: @@ -27,7 +27,7 @@ -\DeclareSymbolFont{numbers}{OT1}{cmr}{m}{n} + dkdk\DeclareSymbolFont{numbers}{OT1}{cmr}{m}{n} Leo From dann@godzilla.ics.uci.edu Mon Nov 30 16:07:12 2009 Received: (at 5078) by emacsbugs.donarmstrong.com; 1 Dec 2009 00:07:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.8 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from colin-baker-v0.ics.uci.edu (colin-baker-v0.ics.uci.edu [128.195.1.153]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB107BQW010687 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 16:07:12 -0800 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nB1071dn002729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Nov 2009 16:07:02 -0800 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nB1071f9018012; Mon, 30 Nov 2009 16:07:01 -0800 (PST) Date: Mon, 30 Nov 2009 16:07:01 -0800 (PST) Message-Id: <200912010007.nB1071f9018012@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Leo Cc: 5078@debbugs.gnu.org Subject: Re: bug#5078: 23.1.50; vc broken References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> X-Debbugs-No-Ack: yes In-Reply-To: (Leo's message of "Mon, 30 Nov 2009 23:33:02 +0000") Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nB1071dn002729 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Leo writes: > On 2009-11-30 19:59 +0000, Dan Nicolaescu wrote: > [...] > > > I think I am seeing an odd bug. > > > > > > There's a file in one of my projects that Emacs (with -Q) VC can't see > > > its changes. However, I can use magit to see its changes without any > > > problem. I tried to reproduce this problem with a newly created git repo > > > but with no luck. > > > > > > Could you let me know how I can debug this further? Thanks. > > > > > > With the file that you have problems with in the current buffer, try to debug: > > > > M-: (vc-git-state (buffer-file-name)) RET > > That returns: up-to-date Please try to debug that function and figure out why it returns 'up-to-date. > while the difference is: > > @@ -27,7 +27,7 @@ > -\DeclareSymbolFont{numbers}{OT1}{cmr}{m}{n} > + dkdk\DeclareSymbolFont{numbers}{OT1}{cmr}{m}{n} > > Leo From sl392@hermes.cam.ac.uk Mon Nov 30 17:18:18 2009 Received: (at 5078) by emacsbugs.donarmstrong.com; 1 Dec 2009 01:18:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.9 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ppsw-5.csi.cam.ac.uk (ppsw-5.csi.cam.ac.uk [131.111.8.135]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB11IGxK020013 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 17:18:18 -0800 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc2-cmbg15-2-0-cust694.5-4.cable.virginmedia.com ([86.26.14.183]:49714 helo=victoria.local) by ppsw-5.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.155]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NFHNg-0005Fc-Gj (Exim 4.70) (return-path ); Tue, 01 Dec 2009 01:18:16 +0000 From: Leo To: Dan Nicolaescu Cc: 5078@debbugs.gnu.org Subject: Re: bug#5078: 23.1.50; vc broken References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> <200912010007.nB1071f9018012@godzilla.ics.uci.edu> Date: Tue, 01 Dec 2009 01:18:14 +0000 In-Reply-To: <200912010007.nB1071f9018012@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 30 Nov 2009 16:07:01 -0800 (PST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" On 2009-12-01 00:07 +0000, Dan Nicolaescu wrote: > Please try to debug that function and figure out why it returns 'up-to-date. I set vc-git-state with edebug and then made some changes to the file. The following are some return values inside vc-git-state. Does it give a clue? 1. (vc-git--call nil "add" "--refresh" "--" (file-relative-name file)) returns result: 128 (#o200, #x80, ?\200) 2. (vc-git--run-command-string file "diff-index" "-z" "HEAD" "--") returns empty string "" If I clone the repo, the problem goes away. Best, Leo From dann@godzilla.ics.uci.edu Mon Nov 30 18:00:17 2009 Received: (at 5078) by emacsbugs.donarmstrong.com; 1 Dec 2009 02:00:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.7 required=4.0 tests=AWL,FOURLA,GMAIL, HAS_BUG_NUMBER,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from paul-mcgann-v0.ics.uci.edu (paul-mcgann-v0.ics.uci.edu [128.195.1.147]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB120GLY030877 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 18:00:17 -0800 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nB1205oM005301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Nov 2009 18:00:06 -0800 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nB1205lE018903; Mon, 30 Nov 2009 18:00:05 -0800 (PST) Date: Mon, 30 Nov 2009 18:00:05 -0800 (PST) Message-Id: <200912010200.nB1205lE018903@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Leo Cc: 5078@debbugs.gnu.org Subject: Re: bug#5078: 23.1.50; vc broken References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> <200912010007.nB1071f9018012@godzilla.ics.uci.edu> X-Debbugs-No-Ack: yes In-Reply-To: (Leo's message of "Tue, 01 Dec 2009 01:18:14 +0000") Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nB1205oM005301 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Leo writes: > On 2009-12-01 00:07 +0000, Dan Nicolaescu wrote: > > Please try to debug that function and figure out why it returns 'up-to-date. > > > I set vc-git-state with edebug and then made some changes to the file. > The following are some return values inside vc-git-state. Does it give a > clue? > > 1. (vc-git--call nil "add" "--refresh" "--" (file-relative-name file)) > > returns result: 128 (#o200, #x80, ?\200) > > 2. (vc-git--run-command-string file "diff-index" "-z" "HEAD" "--") > > returns empty string "" It seems that git thinks there's no change, if you change that line to: (vc-git--run-command-string file "diff-index" "-p" "-z" "HEAD" "--") does it return the diff you've shown in a previous message? > If I clone the repo, the problem goes away. Maybe something is corrupted in your tree, maybe comparing the 2 .git directories could give some clues. From sl392@hermes.cam.ac.uk Tue Dec 1 06:56:54 2009 Received: (at 5078-done) by emacsbugs.donarmstrong.com; 1 Dec 2009 14:56:54 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.3 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ppsw-0.csi.cam.ac.uk (ppsw-0.csi.cam.ac.uk [131.111.8.130]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB1EuqpO007909 for <5078-done@emacsbugs.donarmstrong.com>; Tue, 1 Dec 2009 06:56:54 -0800 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from lapwing-gw-1.csx.cam.ac.uk ([131.111.1.66]:50448 helo=victoria.local) by ppsw-0.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.150]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NFU9s-00043F-0T (Exim 4.70) (return-path ); Tue, 01 Dec 2009 14:56:52 +0000 From: Leo To: Dan Nicolaescu Cc: 5078-done@debbugs.gnu.org Subject: Re: bug#5078: 23.1.50; vc broken References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> <200912010007.nB1071f9018012@godzilla.ics.uci.edu> <200912010200.nB1205lE018903@godzilla.ics.uci.edu> Date: Tue, 01 Dec 2009 14:56:50 +0000 In-Reply-To: <200912010200.nB1205lE018903@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 30 Nov 2009 18:00:05 -0800 (PST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" On 2009-12-01 02:00 +0000, Dan Nicolaescu wrote: > > I set vc-git-state with edebug and then made some changes to the file. > > The following are some return values inside vc-git-state. Does it give a > > clue? > > > > 1. (vc-git--call nil "add" "--refresh" "--" (file-relative-name file)) > > > > returns result: 128 (#o200, #x80, ?\200) > > > > 2. (vc-git--run-command-string file "diff-index" "-z" "HEAD" "--") > > > > returns empty string "" > > It seems that git thinks there's no change, if you change that line to: > > (vc-git--run-command-string file "diff-index" "-p" "-z" "HEAD" "--") > > does it return the diff you've shown in a previous message? It returns the empty string "" as well. > > If I clone the repo, the problem goes away. > > Maybe something is corrupted in your tree, maybe comparing the 2 .git > directories could give some clues. I think it might be due to incompatibility between git 1.4.x and 1.5.x as all new repos do not have this problem. This bug can be closed. Thank you very much for your help along the way. Best, Leo From unknown Sat Sep 06 20:03:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 30 Dec 2009 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator