From unknown Tue Jun 17 20:15:52 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#4207 <4207@debbugs.gnu.org> To: bug#4207 <4207@debbugs.gnu.org> Subject: Status: 23.1; vc-dir with git uses wrong base directory Reply-To: bug#4207 <4207@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:15:52 +0000 retitle 4207 23.1; vc-dir with git uses wrong base directory reassign 4207 emacs submitter 4207 Tom Tromey severity 4207 normal tag 4207 patch thanks From tromey@redhat.com Wed Aug 19 14:23:50 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Aug 2009 21:23:50 +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.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7JLNmJ5024767 for ; Wed, 19 Aug 2009 14:23:49 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdsdH-00021j-Tk for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2009 17:23:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdsdD-0001yX-7E for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2009 17:23:47 -0400 Received: from [199.232.76.173] (port=55955 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdsdC-0001yF-S2 for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2009 17:23:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60524) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdsdC-00058H-7W for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2009 17:23:42 -0400 Received: from int-mx07.intmail.prod.int.phx2.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7JLNex4025545 for ; Wed, 19 Aug 2009 17:23:40 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx07.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7JLNd3W005065; Wed, 19 Aug 2009 17:23:40 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n7JLNct6024047; Wed, 19 Aug 2009 17:23:39 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 8B1C33782EF; Wed, 19 Aug 2009 15:23:38 -0600 (MDT) From: Tom Tromey To: bug-gnu-emacs@gnu.org Subject: 23.1; vc-dir with git uses wrong base directory Reply-To: Tom Tromey X-Attribution: Tom Date: Wed, 19 Aug 2009 15:23:38 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.67 on 10.5.11.20 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I have a git working tree. I ran vc-dir on a subdirectory of this tree. In *vc-dir*, I go to an edited file and type '='. Emacs says: No changes between working revision and workfile However, if I look at *Messages*, I can see from the "Finding changes" output that VC is examining the wrong file -- the subdirectory's name appears twice in the computed file name. E.g., the message says: Finding changes in /home/tromey/gnu/archer/archer/gdb/gdb/mi/mi-cmd-var.c... ... but no such file exists, the file is actually called /home/tromey/gnu/archer/archer/gdb/mi/mi-cmd-var.c (one less "gdb" in there) 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'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.1/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.5) of 2009-08-03 on x86-5.fedora.phx.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.10601901 configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables'' 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_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-spelling-mode: t erc-truncate-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t gnus-undo-mode: t highlight-changes-visible-mode: t erc-status-mode: t erc-services-mode: t erc-networks-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: c h e c o u t , C-u C-b k C-e f o r SPC e x a m p l e SPC a u t o m 4 t e . c a c h e SPC ( c r e a t e SPC d SPC b y SPC a u t o c o n f ) . I n SPC t h e SPC * v c d c - d 8 i r * SPC b u g f f e r SPC I SPC s e t t e e : C-u C-b C-d C-e C-z o C-u C-n C-n C-n C-SPC C-n C-n M-w C-z o C-y C-n C-o T h a t SPC i s , SPC t h e SPC d i r e c t o r y SPC i s SPC l i s t e d SPC t w i c e . T h i s SPC d o e s SPC n o t SPC s e e m SPC s e e m s SPC w e i r d SPC t o SPC m e . SPC SPC I t SPC t h i n k SPC i t SPC s h o u l d SPC o n l y SPC b e l i s t e d C-u C-b C-b C-b SPC C-e SPC o n c e . C-f C-f M-a C-o I t SPC s SPC t h i s SPC i n t e n t i o n a l ? C-z o C-z o C-c C-c M-x M-p Recent messages: d is undefined call-interactively: End of buffer Quit Mark set Quit [2 times] Auto-saving...done Mark set [2 times] Sending... Sending via mail... Sending...done Tom From dann@godzilla.ics.uci.edu Thu Aug 20 21:02:16 2009 Received: (at 4207) by emacsbugs.donarmstrong.com; 21 Aug 2009 04:02:16 +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=-6.8 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7L42FgY001672; Thu, 20 Aug 2009 21:02:16 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n7L41xFS009694; Thu, 20 Aug 2009 21:01:59 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n7L41xng015395; Thu, 20 Aug 2009 21:01:59 -0700 (PDT) Date: Thu, 20 Aug 2009 21:01:59 -0700 (PDT) Message-Id: <200908210401.n7L41xng015395@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Tom Tromey Cc: 4207@debbugs.gnu.org Subject: Re: bug#4207: 23.1; vc-dir with git uses wrong base directory References: X-Debbugs-No-Ack: yes In-Reply-To: (Tom Tromey's message of "Wed, 19 Aug 2009 15:23:38 -0600") Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n7L41xFS009694 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu merge 1589 4207 3359 quit Tom Tromey writes: > I have a git working tree. > > I ran vc-dir on a subdirectory of this tree. > > In *vc-dir*, I go to an edited file and type '='. > > Emacs says: No changes between working revision and workfile > > However, if I look at *Messages*, I can see from the "Finding changes" > output that VC is examining the wrong file -- the subdirectory's name > appears twice in the computed file name. > > E.g., the message says: > > Finding changes in /home/tromey/gnu/archer/archer/gdb/gdb/mi/mi-cmd-var.c... > > ... but no such file exists, the file is actually called > > /home/tromey/gnu/archer/archer/gdb/mi/mi-cmd-var.c > > (one less "gdb" in there) Thanks, this is the same issue as bug 1589 From lekktu@gmail.com Thu Oct 22 03:17:10 2009 Received: (at control) by emacsbugs.donarmstrong.com; 22 Oct 2009 10:17: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=0.0 required=4.0 tests=AWL,MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-fx0-f213.google.com (mail-fx0-f213.google.com [209.85.220.213]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9MAH8gs010046 for ; Thu, 22 Oct 2009 03:17:10 -0700 Received: by fxm9 with SMTP id 9so9747121fxm.1 for ; Thu, 22 Oct 2009 03:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=isMlR4sVFBifZsuLzORMye4X2U1larCzZQ+MovCBfV8=; b=RGsXmteh5ruhPVUj5bPluI7uJ2eQvCMqbOCkOiauf5Q1c7XohVc8vsBQ99XkjqOemn Sg3he4aHb9QstUEkEiJCcH5QhOFm5PWiNdG2qmzB1jofbH50hePUH864K/a7Zi+Z9jKV WYlqemo6vQqv5hmX2zjlzGlxn1+i8MmiZ3qEQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=CBlRptq9qyIp3DSxmK7qoMYCH+yQ0PWcY8AkJX2Uk/rpxXECrywLiF0J7NnyET5ggU vPPbg7UAWPufeD6BHJ2cZo7Vz+wPUp0y6Nx+Wj+ch/43pkfQmrQpVOfW2kJoekcjwmIs c4qgwh4nTPnVcFHzOQsOTXZgVAmH0aJKol668= MIME-Version: 1.0 Received: by 10.239.146.77 with SMTP id v13mr719572hba.61.1256206623097; Thu, 22 Oct 2009 03:17:03 -0700 (PDT) From: Juanma Barranquero Date: Thu, 22 Oct 2009 12:16:43 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 reassign 3359 emacs,vc reassign 4207 emacs,vc forcemerge 1589 3359 4207 quit From dann@godzilla.ics.uci.edu Fri Dec 4 16:24:42 2009 Received: (at control) by emacsbugs.donarmstrong.com; 5 Dec 2009 00:24:42 +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=-4.3 required=4.0 tests=AWL,MURPHY_DRUGS_REL8,ONEWORD, VALID_BTS_CONTROL,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 nB50OeSp011656 for ; Fri, 4 Dec 2009 16:24:42 -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 nB50OUJP015067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 4 Dec 2009 16:24:30 -0800 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nB50OU5V011260; Fri, 4 Dec 2009 16:24:30 -0800 (PST) Date: Fri, 4 Dec 2009 16:24:30 -0800 (PST) Message-Id: <200912050024.nB50OU5V011260@godzilla.ics.uci.edu> From: Dan Nicolaescu To: control@debbugs.gnu.org Subject: control X-Debbugs-No-Ack: yes Lines: 10 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: nB50OUJP015067 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=1.057, required 5, autolearn=disabled, ALL_TRUSTED -1.44, LOCALPART_IN_SUBJECT 2.50) X-ICS-MailScanner-SpamScore: s X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu tags 1589 3261 3462 + patch retitle 4529 --enable-ns should be on by default on macs close 4568 close 2678 close 3789 close 3968 close 4454 close 3644 forcemerge 1589 3088 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 25 21:20:59 2010 Received: (at control) by debbugs.gnu.org; 26 Jan 2010 02:20:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZb34-000653-W7 for submit@debbugs.gnu.org; Mon, 25 Jan 2010 21:20:59 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZb33-00064y-7n for control@debbugs.gnu.org; Mon, 25 Jan 2010 21:20:57 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NZb2z-0000SS-Pa; Mon, 25 Jan 2010 21:20:53 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19294.20869.773000.789691@fencepost.gnu.org> Date: Mon, 25 Jan 2010 21:20:53 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: blue X-Ran: Oj=Jkw@Sm(I2TeFMTWlSoQb>vVl7"X??>dxbdx9w\Q8kfaJxwqvZi%j4MqO}#;`5qJ]FXK X-Debbugs-No-Ack: yes X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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.0 (-----) merge 3018 3038 reassign 1589 emacs merge 1589 3088 unarchive 3198 forcemerge 3198 1089 From unknown Tue Jun 17 20:15:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 25 Feb 2010 12:24:03 +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