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

Patched git_checkout command to work with large repos on Mac #150

Closed ngaijohnsen closed 4 years ago

ngaijohnsen commented 6 years ago

Patched git_checkout function to iterate trough the files instead of doing all in one go. OSX has a hardcoded max arguments size that is much smaller than on Linux and after having issues decrypting a larger repo, this made it work in the end.

Perhaps not the optimal solution, but it worked for us.

natanverdes commented 5 years ago

Thanks for the solution!!! Why is not merged yet?

AGWA commented 5 years ago

I'll merge a patch which batches git checkout commands in reasonable chunks, such as 100. Doing it per-file would be an unacceptable performance regression for many people.