Failed to parse git.exe version number

I keep getting a popup in TortoiseGit: "Failed to parse git.exe version number." when ever i try to do something ... I have git 1.8 setup and connected it (via settings) with TortoiseGit, but it was painful .... I have the same git / TortoiseGit versions on my laptop (also windows) and it worked fine, no problem =. = My windows are also a new installation.

+4
source share
8 answers

If the path to git.exe is C: \ msysgit \ msysgit \ bin \ git.exe, then you should enter C: \ msysgit \ msysgit \ bin as the git.exe path and C: \ msysgit \ msysgit \ mingw \ bin in "Extern DLL Path" (because otherwise no mingw dll could be found).

If this does not help, see here.

+6
source

If none of the above solutions work, try disabling the firewall.

I had this problem too, and I tried the solutions posted here and here https://tortoisegit.org/issue/1533

But nothing worked until I turned off the firewall.

+3
source

Adding double quotes to both fields fixed this for me after I followed the Sven instructions above.

+1
source

I had the same problem, so here is what I did:

  • Rightclick β†’ Tortoise Git β†’ Settings
  • General
  • For Extern DLL Path, enter \ To \ Git \ git-cheetah \ git_shell_ext64.dll Path

After that, Tortoise Git began to work flawlessly. He updated Git.exe. Path to: Path \ K \ Git \ bin

There are no more unsightly errors, more posts talking about the Git source located at code.google.com or whatever it was ... everything worked flawlessly for me.

Hope this solves your problem: D

Edit

Of course, \ path \ to \ is a common understanding among programmers, but I would rather be safe than sorry, explaining what I mean.

My \ path \ to \ for Git: * C: \ Program Files (x86) *

This means that my Git.exe path is: C: \ Program Files (x86) \ Git \ bin , and my external DLL path is C: \ Program Files (x86) \ Git \ GIT cheetah \ git_shell_ext64.dll .

0
source

I ran into this problem and noticed that the installer v1.8.0 Git for Windows will be installed in the user's local AppData folder if it does not start with administrator privileges. Although the application is truly a standard user, this behavior is subtle and incompatible with other MSI style installers.

I removed Git from AppData and restarted the same Git for the Windows installer as the administrator, and the error message no longer appeared in Tortoise Git. This is probably due to the fact that Git was now installed in the expected location (which on my 64-bit machine was C: \ Program Files (x86) \ Git).

I installed the following versions:

  • Turtle Git 1.8.0.0 64-bit
  • Git 1.8.0 Preview 20121022
0
source

For me, it helped launch Tortoise Git Settings as an administrator, and then set the paths according to Sven's answer, and then I clicked Check Now. After closing the settings window, everything works.

0
source

This is unbelievable. I tried everything here without effect. Then I:
- copied git.exe to c: /
- enter the path to git.exe: c:
Now the error message has changed.
- returned the correct path to git.exe: C: \ Program Files (x86) \ Git \ bin
- enter the external path: "C: \ Program Files (x86) \ Git \ git-cheetah"


And Git was recognized!

0
source

had the same problem, none of the proposed solutions worked. For some time I deactivated COMODO Sandbox, made a clone through the tortoiseGit context menu, and worked. After the reboot, the sandbox was activated, so adding it to reliable programs worked constantly. Thank you! Thought I was here too.

0
source

Source: https://habr.com/ru/post/1446869/


All Articles