Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in startup script for GIT GUI (v.2.5.2) #376

Closed
johngraciliano opened this issue Sep 11, 2015 · 3 comments
Closed

Error in startup script for GIT GUI (v.2.5.2) #376

johngraciliano opened this issue Sep 11, 2015 · 3 comments
Assignees

Comments

@johngraciliano
Copy link

After installing v2.5.2 (64-bit), I tried executing GIT GUI from windows menu and I received back an error message:

Error in sartup script
couldn't read file "C:\Progam Files\Git\cmd\mingw64\libexec\git-core\git-gui": no such file or directory

Indeed the reference is bad because there is no cmd between Git and mingw64.

@dscho
Copy link
Member

dscho commented Sep 11, 2015

Thanks for the report; I can reproduce the issue!

@dscho dscho closed this as completed in 6f82752 Sep 11, 2015
@dscho
Copy link
Member

dscho commented Sep 11, 2015

I will see how many other problems need hotfixes, and release a new version soon.

In the meantime, as a work-around you could right-click on the Git GUI shortcut (you can right-click the icon in the Windows menu and open the file location to get there), select Properties... and change the Target: from

"C:\Program Files\Git\cmd\git-gui.exe"

to

"C:\Program Files\Git\cmd\git.exe" gui

It will open an ugly, unnecessary console until the next Git for Windows version is available, but at least it will work until then.

@Beanow
Copy link

Beanow commented Sep 12, 2015

For the equivalent of this workaround for the explorer integration:

Run regedit.exe,
Change HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\git_gui\command\(Default)
from "C:\Program Files\Git\cmd\git-gui.exe" "--working-dir" "%v."
to "C:\Program Files\Git\cmd\git.exe" "gui" "--working-dir" "%v."

jeffhostetler pushed a commit to jeffhostetler/git that referenced this issue Jun 21, 2021
…main for tests

We were using derrickstolee/scalar:test-scalar-in-c as a temporary
branch while we review microsoft/scalar#505 and ensure that it works as
a vehicle for tests in microsoft/git. That work is complete, so let's
update our ref to point to the official repo.
jeffhostetler pushed a commit to jeffhostetler/git that referenced this issue Aug 18, 2021
…main for tests

We were using derrickstolee/scalar:test-scalar-in-c as a temporary
branch while we review microsoft/scalar#505 and ensure that it works as
a vehicle for tests in microsoft/git. That work is complete, so let's
update our ref to point to the official repo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants