gitflow icon indicating copy to clipboard operation
gitflow copied to clipboard

all commands are taking lot of time

Open fabiostawinski opened this issue 8 years ago • 5 comments
trafficstars

I am using now git flow in Windows, and when I try any command it takes lot of time. Even the checkout command which is very quick takes more than 20 seconds.

All commands run is such slowness that is very frustrating. Using git branch and merging is quick, and takes few seconds, the same thing using git flow takes lot more time. If I all merge operations manually it goes faster than using the git flow commands.

Is there some tuning that we may try to speed that up?

fabiostawinski avatar Apr 25 '17 13:04 fabiostawinski

In which environment are you using git flow? Cygwin? Msys 2? Subsystem for Linux? Anything else?

Anyway. Probably the answer will be to switch over to a real Linux, since git flow is a shell script and they rely on heavy process forking traditionally which is awfully slow on windows in the aforementioned emulators. Msys is by far not as fast as Linux itself but at least not a show blocker as cygwin was when I used it.

Fabio Stawinski [email protected] schrieb am Di., 25. Apr. 2017, 15:55:

I am using now git flow in Windows, and when I try any command it takes lot of time. Even the checkout command which is very quick takes more than 20 seconds.

All commands run is such slowness that is very frustrating. Using git branch and merging is quick, and takes few seconds, the same thing using git flow takes lot more time. If I all merge operations manually it goes faster than using the git flow commands.

Is there some tuning that we may try to speed that up?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nvie/gitflow/issues/6384, or mute the thread https://github.com/notifications/unsubscribe-auth/AADmR4TJqnh_agXyUmVLd_prd0RybRXOks5rzfs8gaJpZM4NHhTN .

NobbZ avatar Apr 27 '17 20:04 NobbZ

I am in Windows 10. Git flow commands run on Msys or MINGW64 emulator, also I guess this is the real bottleneck here.

fabiostawinski avatar Apr 28 '17 12:04 fabiostawinski

A similar issue was reported on https://github.com/petervanderdoes/gitflow-avh/issues/52 It is not solved there, but the observations repoted may help you.

toolforger avatar Sep 18 '17 08:09 toolforger

@fabiostawinski Did you resolve it?

giang21199z avatar May 08 '19 11:05 giang21199z

I have read other comments where users HOME env variable was set to a mounted network drive (H:\ --> /h). It was suggested that this caused the additional overhead. After setting HOME to %USERPROFILE% (which is on C:\Users...) - I can see that the HOME path and the PATH binary search path did not have the network drive anymore. However, git flow commands continue to execute very slow (minutes).

jdesmet avatar Aug 15 '19 21:08 jdesmet