You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
koutcher
added a commit
to koutcher/tig
that referenced
this issue
Oct 6, 2021
This makes it possible to use `tig --ignore-submodules` to speed up
the status view for a repo with many submodules.
Closes#1152
Reported-by: Benjamin Titmus <ben.titmus@cantab.net>
Reviewed-by: Johannes Altmanninger <aclopte@gmail.com>
The repository I'm using has lots of submodules. The normal
git status
command takes a long time to run, but if I setdiff.ignoreSubmodules = all
in my git config it runs quickly. This doesn't work withtig
though becausetig
usesgit diff-files
which doesn't use the value ofdiff.ignoreSubmodules = all
.I can reproduce this manually.
git diff-files -z
it takes a long time.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 totig
as far as I can tell.The text was updated successfully, but these errors were encountered: