GNU bug report logs -
#5078
23.1.50; vc broken
Previous Next
Reported by: Leo <sdl.web <at> gmail.com>
Date: Mon, 30 Nov 2009 11:50:03 UTC
Severity: normal
Done: Leo <sdl.web <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 01 Dec 2009 14:56:50 +0000
with message-id <m0tywaagjx.fsf <at> cam.ac.uk>
and subject line Re: bug#5078: 23.1.50; vc broken
has caused the Emacs bug report #5078,
regarding 23.1.50; vc broken
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)
--
5078: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5078
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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
[Message part 3 (message/rfc822, inline)]
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
This bug report was last modified 15 years and 254 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.