Skip to content

Disabling altogether on individual slow repositories #479

@Terrance

Description

@Terrance

I use gitstatus with Windows Subsystem for Linux, where accessing Windows disks is pretty slow. I have a couple of repositories still on Windows disks as I need them accessible to native Windows tools, which means my bash prompt can slow to 10 seconds or more evaluating the git status.

I've set the options mentioned in #231 (comment):

git config --local bash.showUntrackedFiles false
git config --local bash.showDirtyState false

...which reduces the wait to about 3-4 seconds on a particularly large repository, but that's still pretty painful for interacting with it.

Can I opt-out one or more repository paths completely though config, or do I need to get my hands dirty making the bash prompt conditional on $PWD or similar?

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