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
Message #37 received at 5078-done <at> emacsbugs.donarmstrong.com (full text, mbox):
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.