Subject: Re: bug#11344: 24.0.95; vc-git-state bug

From: Andreas Schwab <[email-masked]>
Date: Thu, 26 Apr 2012 10:30:45 +0200

Leo <[email-masked]> writes:

> You will see emacs show in the mode-line "Git:<branch>" i.e. file is
> modified. Because in this case, git diff-index -p --raw -z HEAD --
> <file> outputs:
>
>  :100644 100644 c617ed851b3c4d332ab960b0f936c6c4fafce1b0 0000000000000000000000000000000000000000 MTODOdiff --git a/TODO b/TODO

What is your git version?  When I try this I don't get the diff header.

(There is still some breakage that appears to be a git regression, in
that it outputs an extra NUL.)

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."