* bug#2055: 23.0.60; vc-dired doesn't work right with Git
@ 2009-01-25 19:05 Ian Eure
2009-01-27 2:14 ` Dan Nicolaescu
0 siblings, 1 reply; 3+ messages in thread
From: Ian Eure @ 2009-01-25 19:05 UTC (permalink / raw)
To: emacs-pretest-bug
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#2055: 23.0.60; vc-dired doesn't work right with Git
2009-01-25 19:05 bug#2055: 23.0.60; vc-dired doesn't work right with Git Ian Eure
@ 2009-01-27 2:14 ` Dan Nicolaescu
2009-01-27 2:20 ` Processed: " Emacs bug Tracking System
0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2009-01-27 2:14 UTC (permalink / raw)
To: Ian Eure; +Cc: 2055
forcemerge 1589 2055
quit
Ian Eure <ian@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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Processed: Re: bug#2055: 23.0.60; vc-dired doesn't work right with Git
2009-01-27 2:14 ` Dan Nicolaescu
@ 2009-01-27 2:20 ` Emacs bug Tracking System
0 siblings, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2009-01-27 2:20 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: Emacs Bugs, vcdir for {2055, 1589}
Processing commands for control@emacsbugs.donarmstrong.com:
> forcemerge 1589 2055
bug#1589: 23.0.60; vc-dir erroneously reports "No changes between working revision and workfile"
bug#2055: 23.0.60; vc-dired doesn't work right with Git
Warning: Unknown package 'vc-dir'
Warning: Unknown package 'vc-dir'
Forcibly Merged 1589 2055.
> quit
Stopping processing here.
Please contact me if you need assistance.
Don Armstrong
(administrator, Emacs bugs database)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-27 2:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-25 19:05 bug#2055: 23.0.60; vc-dired doesn't work right with Git Ian Eure
2009-01-27 2:14 ` Dan Nicolaescu
2009-01-27 2:20 ` Processed: " Emacs bug Tracking System
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.