AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.18k stars 475 forks source link

Tracked files are sometimes incorrectly shown as modified in `git status` output #183

Open gschaffner opened 4 years ago

gschaffner commented 4 years ago

Occasionally, tracked files are incorrectly shown as modified in git status output.

A closely related issue is git-lfs/git-lfs#1726. The "fix" described in the initial comment seems to work with the git-crypt version of the issue as well. As far as I can tell, however, (as that issue thread is very long), no fix was ever committed for it.

Interestingly, in a state where git status erroneously shows files as changed, different git clients exhibit different behavior when checking the status. For example, the error is not seen in Sublime Merge, but it is still in Git Cola.