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

Async git status #9

Closed
lazywei opened this issue Jan 17, 2016 · 3 comments
Closed

Async git status #9

lazywei opened this issue Jan 17, 2016 · 3 comments

Comments

@lazywei
Copy link

lazywei commented Jan 17, 2016

Hi,

I'm wondering if it is possible to make the "displaying git status" asynchronous? If we keep it synchronous, then we have to wait for a moment after every command (because git status takes time). This will be critical in a large project.

How do you think?

Thanks

@simnalamburt
Copy link
Owner

If that's possible, it will be great solution but I have no idea how to implement that. Currently I'm planning to skip git status if it takes more than 1 second.

@simnalamburt
Copy link
Owner

simnalamburt commented Jan 21, 2017

Looks like https://github.com/sindresorhus/pure does some async git status update. I'll find out how it did it

See also

@simnalamburt
Copy link
Owner

https://github.com/romkatv/powerlevel10k did this. Closing

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

No branches or pull requests

2 participants