Проводник перестает отвечать при открытии Git Bash

3477
Gaui

Когда я открываю Git Bash из контекстного меню Проводника, Проводник перестает отвечать, независимо от того, является ли папка папкой Git. Сразу, когда я закрываю Git Bash, Explorer начинает отвечать снова.

Моя система работает под управлением Windows 7 Professional x64, а версия Git 1.9.0.msysgit.

У вас есть идеи, что может быть причиной этого? Вот рисунок, описывающий проблему:Проводник перестает отвечать при открытии Git Bash

7
создайте дамп в проводнике, откройте дамп в WinDbg и запустите **! analysis -v -hang **. Скопируйте и вставьте вывод Windbg в pastebin и разместите ссылку здесь magicandre1981 10 лет назад 0
@ magicandre1981 и как мне это сделать? Gaui 10 лет назад 0
Используйте Taskmgr или ProcessExplorer для создания дампа. Windbg является частью WinSDK (Инструменты отладки) magicandre1981 10 лет назад 0

2 ответа на вопрос

9
Justin

It looks like it is a problem with the git-cheetah extension with git 1.9.0.

https://github.com/msysgit/Git-Cheetah/commit/e7af79862b136efb414ac545f282939e2d290e3e

A recent change made for FarManager makes Git Cheetah capture stderr/stdout even when we are not interested in it, to avoid cluttering FarManager's precious console. Due to this workaround, Git Bash makes the Explorer -- Git Cheetah's primary intended consumer -- hang.

It looks like the fix has been commited to the codebase but as to when it will appear in the git update I have no idea!

8
David Brown

I can confirm that uninstalling / reinstalling with:

[x] Windows Explorer integration (*) Simple context menu (Registry based) [x] Git Bash Here [x] Git GUI Here ( ) Advanced context menu (git-cheetah plug-in) 

...solved the problem for me under Windows 8.1 while keeping the functionality I needed. Thanks to Justin for the real answer; sorry I don't have the rep yet to make this just a comment.

Подтверждено, что работает простое контекстное меню (на основе реестра) вместо расширенного контекстного меню (плагин git-cheetah). Gaui 10 лет назад 2