Search code examples
gitmsysgit

when using git for windows, git bash could not work?


problem when using git1.8 for windows

I install git-1.8 in windows7, but encounter this problem(nearly every time when I use 'git config' or some else), can someone tell why and how to fix?


Solution

  • I have both msysgit and GitHub for Windows, but I would recommend using the portable version of msysgit in order to avoid any conflict in the Windows registry.

    Also, WFSO is a Windows semaphore (WaitForSingleObject), illustrated in issue 457 for instance. It is a symptome of a resource deadlock, resource which would be use by both bash (G4W and msysgit)

    With the addition of the multiplexing there is a second thread reading from the socket before the client is spawned and it continues until after all the data from the child is supposed to be written. This causes a deadlock.

    I try not use them at the same time.