AGWA / git-crypt

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

Cannot unlock files added with git subtree add #106

Open PaulRudin opened 7 years ago

PaulRudin commented 7 years ago

If in repo A you include the contents of repo B with git subtree add, and repo B has git-crypt encrypted files, then I can't unlock those files within repo A. Is there a way of doing this, or perhaps it's not possible at the moment?

lyda commented 7 years ago

The issue here I suspect is that the /.git-crypt name is hardcoded in commands.cpp. This was kind of changed in 788a6a99 but it might be nice if there was an environment variable option as well.