-
Notifications
You must be signed in to change notification settings - Fork 2k
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
using user installed git (2.5) with the suggested /bin/agent.cmd does not work #609
Comments
probably related to #610 -> unix commands not on path |
two ways to fix it
|
@manolenso I don't think this will change anything: The problem is that git 2.5 packaged the unix commands in
I would argue for the last one (less code duplication), but that's probably incompatible with git 1.x, so needs the git 2.5 update first (and a comment that git 2.5 is required to start the agent). |
thanks @JanSchulz Added the extra path to the environment and modified the init.bat to take into account the new git path. and that works. 👯 Variables as follow
On a side note, maybe it would be good to offer the user the opportunity to set custom path for the different tools or integrate with a package manager, so we can update some tools to the latest version more easily. |
The problem is that
ssh-agent
is not in path: the scripts expects it in path (which in my case only hasC:\Program Files\Git\bin
andC:\Program Files\Git\cmd
-> git installed so that I can use if from cmd), but it is inC:\Program Files\Git\usr\bin
There is also a
start-ssh-agent.bat
inC:\Program Files\Git\cmd
, which works (ok, if I call it in init.bat, it prints a few funny lines :-( -> git-for-windows/git#314).The text was updated successfully, but these errors were encountered: