Git freezes on help commands
When I write “git help” or trigger any “help” commands, the commandline freezes for ~60 seconds, and THEN the webbrowser opens a page with the correspondinge help text.
- git: Automatically merge with union strategy during rebase
- How to delete stashes as a batch?
- Visual Studio 2008 source control for small teams
- Why do I get a Windows file permission error (IO Error 13) with Android SDK when writing to files starting with a dot?
- ssh - 'connection reset by peer' - windows
- Bitbucket, Windows and “fatal: could not read Password for”
Why this huge delay?! Anybody else experience this problem? My webbrowser is Chrome by default, but I’m not sure if this is the problem.
I may add, that after the inital freeze, it solves itself, and every subsequent help command runs flawless. Of course, after a reboot, or possibly enough time, the problem emerges again.
Based on feedback I tried the following commands with GIT_TRACE=1
C:\Users\zzz\Development\Bloomberg>git web--browse http://google.com trace: exec: 'git-web--browse' 'http://google.com' trace: run_command: 'git-web--browse' 'http://google.com' setup: git_dir: .git setup: worktree: C:/Users/zzz/Development/Bloomberg setup: cwd: C:/Users/zzz/Development/Bloomberg setup: prefix: (null) trace: built-in: git 'config' 'web.browser' setup: git_dir: .git setup: worktree: C:/Users/zzz/Development/Bloomberg setup: cwd: C:/Users/zzz/Development/Bloomberg setup: prefix: (null) trace: built-in: git 'config' 'browser.start.path' C:\Users\zzz\Development\Bloomberg>git sutatus trace: exec: 'git-sutatus' trace: run_command: 'git-sutatus' *********** FREEZES FOR ~30 SECONDS************* git: 'sutatus' is not a git command. See 'git --help'. Did you mean this? status
However, I’m not very much wiser. Again, after this initail “freeze”, the same command responds instantly again.
One Solution collect form web for “Git freezes on help commands”
What version of msysgit are you using?
The issue 445 is all about those “delays”, but it concludes with:
Upgrading to Git-126.96.36.199-preview20101002 solved this problem for me.
And indeed I don’t see any delay with msysgit188.8.131.52, on WXp or Windows Server2008 (for the two servers at work where I use msysgit).
Otherwise, Mark’s suggestions stands:
Git has it’s own tool called “
git web--browse” that invokes the web-browser.
Set the environment
GIT_TRACEto 1 to see what processes are started, and with what
The mentioned workaround (for 184.108.40.206 version for instance):
As temporary workaround one can rename all
I had the same problem on Git-220.127.116.11-preview20100309.exe and this workaround fixes the