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

git-crypt breaks git partial staging #178

Open thebucc opened 5 years ago

thebucc commented 5 years ago

The problems can be reproduced like this:

The problem seems to be that if a file is encrypted, it is seen as binary, and patch staging only works for text files so git can only stage the full file. Maybe this is intrinsic to how git-crypt works, but maybe there are workarounds, maybe something can be done changing settings in .gitattributes?

romain-dartigues commented 4 years ago

Duplicate of #167.