Git Extensions “function not implemented”

守給你的承諾、 提交于 2019-11-28 07:34:59

问题


I'm trying to use Git Extensions on a new Windows 7 machine. I have done that many times before but never hit this particular issue.

Git Bash is working, I successfully cloned a repository.

But going to Git Extensions, opening the repo, and doing a pull gives me the following error message:

"C:\Program Files (x86)\Git\bin\git.exe" pull --progress "origin"
error: cannot spawn git: Function not implemented
Done

Press Enter or Esc to close console...

My setup is very ordinary. The Git Extensions startup checks all pass. (This is similar but not the same problem as the common invalid path issue.)

Do you have any idea what causes this problem?


回答1:


The new releases, Git for Windows 2.16.1(3) and Git for Windows 2.16.1(4), fix this regression:

2.16.1(3) Bug Fixes

  • When http.sslBackend is not configured (e.g. in portable Git or MinGit), fetch/push operations no longer crash.
  • On Windows 7 and older, Git for Windows v2.16.1(2) was no longer able to spawn any processes (e.g. during fetch/clone). This regression has been fixed.
  • The Perl upgrade in v2.16.1(2) broke git send-email; This has been fixed by updating the Net-SSLeay Perl module.

The mentioned regression in the second bullet point is exactly the error this question is about.

Unfortunately, there was one missing issue about spawning processes which was then fixed in the subsequent fourth release:

2.16.1(4) Bug Fixes

  • When called from TortoiseGit, git.exe can now spawn processes again.

Note that the download on https://git-scm.com/download/win might not have been update yet, so you need to download it from gitforwindows.org or directly from the release page on GitHub.

Afterwards, you can verify that you indeed running the new version using git --version which should report git version 2.16.1.windows.4.




回答2:


Per Philippe and Jake - bug is filed against GIT 2.16.2, and workaround is to go back to prior version.

https://github.com/git-for-windows/git/releases/tag/v2.16.1.windows.1




回答3:


Running an update on my machine to Git for Windows v2.21.0- just a slightly updated version fixed the issue with my Windows 7 installation at work. https://github.com/git-for-windows/git/releases/download/v2.21.0.windows.1/Git-2.21.0-32-bit.exe



来源:https://stackoverflow.com/questions/48601101/git-extensions-function-not-implemented

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!