The command 'git-crypt unlock' failed with the error 'git: Argument list too long' on MacOS 10.15 and a repository size of 6977 files. The error probably occurs because of a small ARG_MAX value on MacOS. On Ubuntu, the command succeeded without problems.
I think the error could be fixed by changing the way the git checkout command is executed. It might be possible to split up the command and restrict the number of parameters of each call to ARG_MAX.
The command 'git-crypt unlock' failed with the error 'git: Argument list too long' on MacOS 10.15 and a repository size of 6977 files. The error probably occurs because of a small ARG_MAX value on MacOS. On Ubuntu, the command succeeded without problems.
I think the error could be fixed by changing the way the git checkout command is executed. It might be possible to split up the command and restrict the number of parameters of each call to ARG_MAX.