git-crypt icon indicating copy to clipboard operation
git-crypt copied to clipboard

Cannot unlock files added with git subtree add

Open PaulRudin opened this issue 9 years ago • 1 comments

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?

PaulRudin avatar Jan 17 '17 07:01 PaulRudin

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.

lyda avatar Mar 31 '17 08:03 lyda