nvie / gitflow

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.
http://nvie.com/posts/a-successful-git-branching-model/
Other
26.67k stars 2.67k forks source link

all commands are taking lot of time #6384

Open fabiostawinski opened 7 years ago

fabiostawinski commented 7 years ago

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?

NobbZ commented 7 years ago

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 notifications@github.com 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 .

fabiostawinski commented 7 years ago

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

toolforger commented 7 years ago

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.

giang21199z commented 5 years ago

@fabiostawinski Did you resolve it?

jdesmet commented 5 years ago

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).