GNU bug report logs - #1589
23.0.60; vc-dir erroneously reports "No changes between working revision and workfile"

Previous Next

Package: emacs;

Reported by: Eric Hanchrow <eric.hanchrow <at> gmail.com>

Date: Wed, 17 Dec 2008 06:55:39 UTC

Severity: normal

Tags: patch

Merged with 2055, 2641, 3088, 3359, 4207

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: bug-gnu-emacs <at> gnu.org (Emacs bug Tracking System)
To: Lennart Staflin <lenst <at> lysator.liu.se>
Subject: bug#2641 closed by Glenn Morris <rgm <at> gnu.org> (Re: bug#1589:
 vc-dir erroneously reports "No changes between working revision and
 workfile")
Date: Wed, 27 Jan 2010 20:37:02 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1589: 23.0.91; vc-dir for git uses wrong default directory

It has been closed by Glenn Morris <rgm <at> gnu.org>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Glenn Morris <rgm <at> gnu.org> by
replying to this email.


-- 
1589: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1589
Emacs Bug Tracking System
Contact bug-gnu-emacs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 1589-done <at> debbugs.gnu.org
Subject: Re: bug#1589: vc-dir erroneously reports "No changes between working
	revision and workfile"
Date: Wed, 27 Jan 2010 15:36:29 -0500
It seems this patch was installed, thanks.

2010-01-25  Eric Hanchrow  <eric.hanchrow at gmail.com>  (tiny change)

  * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
  diff-index command.  This requires at least git-1.5.5.

[Message part 3 (message/rfc822, inline)]
From: Lennart Staflin <lenst <at> lysator.liu.se>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.91; vc-dir for git uses wrong default directory
Date: Wed, 11 Mar 2009 21:08:32 +0100
With a working directory under Git control, doing a vc-dir from a
subdirectory produces a vc-dir buffer where all displayed paths are
relative to the working directory's top directory but the buffers
default directory is the subdirectory. The result is that many
commands like vc-dir-find-file and vc-diff dosen't work.

For instance, directory structure:
 top/
   .git
   foo/
     bar.txt

Doing a vc-dir from a buffer containing bar.txt gives

VC backend : Git
Working dir: ~/src/vcgit-bug/foo/
Branch     : master

                         ./
                         foo/
     edited              foo/bar.txt

Moving to the foo/bar.txt line and pressing RET produces:
 "Use M-x make-directory RET RET to create the directory and its
   parents"
and a empty bar.txt buffer.


In GNU Emacs 23.0.91.3 (powerpc-apple-darwin8.11.0, NS apple-appkit-824.48)
of 2009-03-09 on sin
Windowing system distributor `Apple', version 10.3.824
configured using `configure  '--with-ns' '--enable-maintainer-mode' 
'--without-x' '--with-jpeg' '--with-gif' '--with-png' 
'--disable-ns-self-contained' 'CFLAGS=-g''

Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: en_US.UTF-8
 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: utf-8-unix
 default-enable-multibyte-characters: t

Major mode: VC dir

Minor modes in effect:
 diff-auto-refine-mode: t
 erc-list-mode: t
 erc-menu-mode: t
 erc-autojoin-mode: t
 erc-ring-mode: t
 erc-networks-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-irccontrols-mode: t
 erc-noncommands-mode: t
 erc-move-to-prompt-mode: t
 erc-readonly-mode: t
 shell-dirtrack-mode: t
 show-paren-mode: t
 auto-insert-mode: t
 iswitchb-mode: t
 partial-completion-mode: t
 recentf-mode: t
 cua-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
 abbrev-mode: t

Recent input:
<left> <down> <down> <up> <right> <right> <right> <down>
<left> <down> <left> <up> <up> <up> <left> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> C-c j i r c <return>
<prior> <prior> <down-mouse-1> <mouse-1> <end> C-c
t v <tab> <up> <down> <down> <down> <down> <tab> <down>
<down> <down> C-c w <S-f3> C-x C-f e m <tab> l e n
<tab> <return> C-x d <return> n n n n n n n n n <S-f3>
C-x C-f / C-g C-x C-z <backspace> <return> <return>
c d <return> c d SPC s r c <return> m k d i r SPC v
c g i t - b u g <return> c d SPC v c <tab> <return>
l s <return> m k d i r SPC f o o <return> t o u c h
SPC f o o / b a r . t x t <return> g i t SPC i n i
t <return> g i t SPC a d d SPC . <return> g i t SPC
s t <return> g i t SPC c i SPC - m SPC " i n i t i
a l " <return> t o u c h SPC f <backspace> C-o <return>
C-x C-f f o o <tab> b a <tab> <return> H e j <return>
C-x C-s C-x v d <return> n n = p n f C-x k <return>
C-x 1 = q <f4> C-x C-b C-x b b a r <return> C-x v d
<return> C-h v d e a <backspace> f a u l <tab> d i
r <tab> <return> <backspace> <tab> <tab> o <tab> <return>
C-x 1 <menu-bar> <help-menu> <send-emacs-bug-repor
t>

Recent messages:
History item: 5
Saving file /Users/lenst/src/vcgit-bug/foo/bar.txt...
Wrote /Users/lenst/src/vcgit-bug/foo/bar.txt
Finding changes in /Users/lenst/src/vcgit-bug/foo/foo/bar.txt...
No changes between working revision and workfile
Use M-x make-directory RET RET to create the directory and its parents
Finding changes in /Users/lenst/src/vcgit-bug/foo/foo/bar.txt...
No changes between working revision and workfile
Quit
Type C-x 4 C-o RET to restore the other window.




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

Previous Next


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