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

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

Leo <[email-masked]> writes:

> 1. Open a file in a git repo
> 2. Insert any char and then delete it
> 3. Save
>
> 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

I was able to reproduce that with git 1.7.7.  Fixed in emacs-24.

Andreas.

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