The repository I'm using has lots of submodules. The normal git status command takes a long time to run, but if I set diff.ignoreSubmodules = all in my git config it runs quickly. This doesn't work with tig though because tig uses git diff-files which doesn't use the value of diff.ignoreSubmodules = all.
I can reproduce this manually.
- If I try running
git diff-files -z it takes a long time.
- If I run
git diff-files --ignore-submodules -z it is quite a lot faster.
Unfortunately there isn't any option for me to add the --ignore-submodules argument to tig as far as I can tell.