Closed romanholidaypancakes closed 2 years ago
There might be few reasons for that. Can you look in OUTPUT-> Gitflow and copy log from there to here. There is a time for each command I'll know which one takes the most time.
1: INFO: (0ms) [activate] Extension activate
2: INFO: (0ms) [Root] d:\github\reponame
3: INFO: (0ms) [C:\Program Files\Git\cmd\git.exe] Git found (path)
4: INFO: (76ms) ["C:\Program Files\Git\cmd\git.exe" version] git version 2.36.1.windows.1
6: INFO: (569ms) ["C:\Program Files\Git\cmd\git.exe" status] On branch develop
16: INFO: (7225ms) ["C:\Program Files\Git\cmd\git.exe" flow log] Comparing against "master" branch\n
4536: INFO: (3872ms) ["C:\Program Files\Git\cmd\git.exe" flow config list] Branch name for production releases: master
4545: INFO: (67ms) ["C:\Program Files\Git\cmd\git.exe" rev-parse --abbrev-ref HEAD] develop
4547: INFO: (70ms) ["C:\Program Files\Git\cmd\git.exe" branch] * develop
4553: INFO: (67ms) ["C:\Program Files\Git\cmd\git.exe" branch -r] origin/HEAD -> origin/master
4561: INFO: (63ms) ["C:\Program Files\Git\cmd\git.exe" version] git version 2.36.1.windows.1
4563: INFO: (338ms) ["C:\Program Files\Git\cmd\git.exe" status] On branch develop
4573: INFO: (2383ms) ["C:\Program Files\Git\cmd\git.exe" flow log] Comparing against "master" branch\n
9093: INFO: (75ms) ["C:\Program Files\Git\cmd\git.exe" remote] origin
9095: INFO: (4856ms) ["C:\Program Files\Git\cmd\git.exe" ls-remote --tags origin] bf171e8a8a399a4c254ea8e45afee4d53c859bff refs/tags/461
9100: INFO: (78ms) ["C:\Program Files\Git\cmd\git.exe" tag --sort=-v:refname] v20
These are commands that takes long time.
"C:\Program Files\Git\cmd\git.exe" status
"C:\Program Files\Git\cmd\git.exe" flow log
Can you run those in terminal in your repository directory and see how long it takes?
Another long command is
"C:\Program Files\Git\cmd\git.exe" remote
But that is understandable, it fetches from remote and it depends on internet speed.
git.exe status
is quick.
git.exe flow log
needs to constantly trigger new information through the keyboard, it is not automatic output, it is difficult to obtain time, but there are many submission records of output.
I published new version and change git flow log
to git flow status
. Should work faster. еest it 1.3.12
Error executing: "C:\Program Files\Git\cmd\git.exe" flow status : Error: Command failed: "C:\Program Files\Git\cmd\git.exe" flow status
Check version 1.3.13
Check version 1.3.13
Error executing: "C:\Program Files\Git\cmd\git.exe" flow : Error: Command failed: "C:\Program Files\Git\cmd\git.exe" flow
You have any configuration for git path?
I also have this error but I can see elements in side bar. Do you?
I also have this error but I can see elements in side bar. Do you?
I can also see gitflow
You see viewlet title or branches inside it?
You see viewlet title or branches inside it?
yes, can see. all the features i use are working fine
I cannot find the reason of a long load apart from remote request. ше also require Git panel to lad before it starts to load at all.
well, it's just that each initialization has a delay but it doesn't affect the use of it
Bug
vscode-gitflow
1.3.11
Windows_NT x64 10.0.19044
1.69.2