Git GUI crashes every time it opens a repository

后端 未结 7 1876
栀梦
栀梦 2021-02-05 11:47

Since few days ago, every time I start Git GUI in a repository, it displays this horrifying error message and quits after I click OK:

prepare-commit-msg hook fai         


        
7条回答
  •  悲&欢浪女
    2021-02-05 12:11

    I ran into this too, and it was because MacType was interfering with bash.exe and msys1.0.dll. (MacType is a font smoothing program for Windows that tries to emulate OS-X style font rasterization.) Enabling MacType only on the programs I need it, and not on the Console2 window that was trying to load bash.exe fixed the problem.

    Maybe that will help someone else fix the error.

提交回复
热议问题