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
Leo <sdl.web <at> gmail.com> writes:
> On 2009-12-01 00:07 +0000, Dan Nicolaescu wrote:
> > Please try to debug that function and figure out why it returns 'up-to-date.
>
>
> 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?
> 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.
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.