Skip to content

Status takes a long time to load with many submodules #1152

@bentitmus

Description

@bentitmus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions