GNU bug report logs - #2055
23.0.60; vc-dired doesn't work right with Git

Previous Next

Package: emacs;

Reported by: Ian Eure <ian <at> digg.com>

Date: Sun, 25 Jan 2009 19:15:03 UTC

Severity: normal

Tags: patch

Merged with 1589, 2641, 3088, 3359, 4207

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2055 in the body.
You can then email your comments to 2055 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2055; Package emacs. (Sun, 25 Jan 2009 19:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ian Eure <ian <at> digg.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 25 Jan 2009 19:15:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Ian Eure <ian <at> digg.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; vc-dired doesn't work right with Git
Date: Sun, 25 Jan 2009 11:05:40 -0800
If you run vc-dired in a directory below the top of a Git working
copy, vc-dired gets confused.

e.g.:

project-a
project-a/lib

If you run vc-dired in lib, the paths in the buffer are relative to
the root, project-a. Subsequent commands on the dired buffer fail to
run, since they pass a nonexistent path to git.

The issue seems to be that vc-dired calls git diff-index, which shows
all paths relative to the WC root rather than the CWD.

In GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS
apple-appkit-949.43)
 of 2009-01-20 on neutron.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL:
  value of $LC_COLLATE: en_US.UTF-8
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: VC dir

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-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-b C-b <return> M-( <tab> m a p c o n c a t SPC M-(
l a m b d a SPC f i l e M-b M-1 M-( M-f C-f SPC f i
l e C-f <return> <tab> f o ; e s <backspace> <backspace>
<backspace> <backspace> i l e s SPC M-" " SPC " C-e
C-x C-e C-x v d ~ / P { r <tab> <backspace> <backspace>
r <tab> t i n <tab> <return> C-x 5 b * M e s s a g
e s * <return> M-` <escape> C-g <switch-frame> <down-mouse-1>
<mouse-movement> <mouse-1> C-SPC C-M-f M-w C-p C-p
C-b C-b C-e C-x o C-x v d t i n <tab> <return> M-`
C-g C-x o C-x b s h e l C-g M-x s h e l <return> g
i t SPC l s - f i l e s SPC - z SPC - o SPC - - d i
r e c t o r y SPC - - n o <M-backspace> <M-backspace>
<M-backspace> <M-backspace> <backspace> M-` C-g <help-echo>
<help-echo> <help-echo> <switch-frame> <down-mouse-1>
<mouse-movement> <mouse-1> C-SPC C-e C-b C-b M-w <switch-frame>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> C-y
<return> <return> c d SPC t i n <tab> <return> M-p
M-p <return> <switch-frame> <down-mouse-1> <mouse-movement>
<mouse-1> C-SPC C-e C-b C-b M-w <switch-frame> g i
t SPC C-y <return> M-x k <backspace> m a n <return>
g i t - d i f f - i n t e <backspace> <backspace> d
e x <return> <help-echo> <down-mouse-1> <mouse-1> <wheel-down>
<down-mouse-1> <mouse-1> M-p <help-echo> <help-echo>
<down-mouse-1> <mouse-1> M-p SPC . <return> C-x o C-x
b <return> C-n C-n C-n C-n C-n C-n C-n C-n C-n C-e
C-b = <help-echo> <help-echo> <help-echo> <help-echo>
<switch-frame> <switch-frame> <help-echo> <help-echo>
<down-mouse-1> <mouse-1> <menu-bar> <help-menu> <s
end-emacs-bug-report>

Recent messages:
History item: 2
Mark set [2 times]
Invoking man git-diff-index in the background
Please wait: formatting the git-diff-index man page...
git-diff-index man page formatted
comint-search-arg: Not at command line
History item: 1
Finding changes in
/Users/ieure/Projects/tinymetalhands.com/tinymetalhands/tinymetalhands/ 
products/models.py...
git (diff-index --exit-code -p HEAD nil --)
/Users/ieure/Projects/tinymetalhands.com/tinymetalhands/tinymetalhands/ 
products/models.py
No changes between working revision and workfile




bug reassigned from package `emacs' to `emacs,vc-dir'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 27 Jan 2009 01:50:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2055; Package emacs,vc-dir. (Tue, 27 Jan 2009 02:20:02 GMT) Full text and rfc822 format available.

Message #10 received at 2055 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Ian Eure <ian <at> digg.com>
Cc: 2055 <at> debbugs.gnu.org
Subject: Re: bug#2055: 23.0.60; vc-dired doesn't work right with Git
Date: Mon, 26 Jan 2009 18:14:14 -0800 (PST)
forcemerge 1589 2055
quit

Ian Eure <ian <at> digg.com> writes:

  > If you run vc-dired in a directory below the top of a Git working
  > copy, vc-dired gets confused.

This is the same issue as Bug#1589.




Forcibly Merged 1589 2055. Request was from Dan Nicolaescu <dann <at> ics.uci.edu> to control <at> emacsbugs.donarmstrong.com. (Tue, 27 Jan 2009 02:20:04 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs,vc-dir' to `emacs,vc'. Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Tue, 17 Mar 2009 09:30:03 GMT) Full text and rfc822 format available.

Merged 1589 2055 2641. Request was from Dan Nicolaescu <dann <at> ics.uci.edu> to control <at> emacsbugs.donarmstrong.com. (Tue, 07 Apr 2009 16:35:05 GMT) Full text and rfc822 format available.

Forcibly Merged 1589 2055 2641 3359 4207. Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Thu, 22 Oct 2009 10:25:06 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Dan Nicolaescu <dann <at> ics.uci.edu> to control <at> emacsbugs.donarmstrong.com. (Sat, 05 Dec 2009 00:30:04 GMT) Full text and rfc822 format available.

bug reassigned from package 'emacs,vc' to 'emacs'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 26 Jan 2010 02:21:02 GMT) Full text and rfc822 format available.

Merged 1589 2055 2641 3088 3359 4207. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 26 Jan 2010 02:21:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 25 Feb 2010 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.