Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement skip status #40

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

grocky
Copy link

@grocky grocky commented Dec 3, 2020

When working in very large repositories like monorepos, running git status --branch --porcelain can take a very long time. In a repo I'm working in it takes nearly 40s to execute. Even when using watchman to precompute file changes, it takes 1.1-1.3s on average. This change allows user to disable the full git status and only get the current branch and stash info.

This implementation is just a global config change to unblock me and allow me to continue using powerline-gitstatus. However, if we can make this configurable per repo or detect when it should be enabled that would be ideal.

@jcharaoui
Copy link
Collaborator

I think it's a nice change but would it be possible to limit the changeset to the actual functionality change, and skip the linting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants