Subject: Re: bug#5078: 23.1.50; vc broken

From: Leo <[email-masked]>
Date: Tue, 01 Dec 2009 01:18:14 +0000

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 ""

If I clone the repo, the problem goes away.

Best,

Leo