plugin git_status makes switching tab very slow when the git repo is big (lots of files).
Don't know if i should report it here, but i didn't found the github repo for that that plugin and i didn't find any entry in this forum. Please move it if this is not the right place for this report.
Regards
plugin git_status makes switching tab very slow
-
- Posts: 392
- Joined: 01.12.2020 13:46
The call to:
returns only the branch name
The call to:
returns all the branches, the hash, and the last commit. Is it really necessary? Can't be replaced with ?
Also the first call is not required as it can be merged with the git branch call.
the call to can be replaced with with . This call won't show the untracked files and it will speed up (at least in my repo) 400% in comparison with
Code: Select all
git symbolic-ref HEAD --short
The call to:
Code: Select all
git branch -v
Code: Select all
git branch -l
Also the first call
Code: Select all
ret = self.run_git(["symbolic-ref", "HEAD", "--short"])
the call to
Code: Select all
git status
Code: Select all
git status -u no
Code: Select all
git status
-
- Posts: 392
- Joined: 01.12.2020 13:46
I need to check this all. I took Git handling python code from
https://github.com/randy3k/GitStatusBar ... tus_bar.py
can you make the patch and test it?
https://github.com/randy3k/GitStatusBar ... tus_bar.py
can you make the patch and test it?
-
- Posts: 392
- Joined: 01.12.2020 13:46
-
- Posts: 392
- Joined: 01.12.2020 13:46
-
- Posts: 392
- Joined: 01.12.2020 13:46