-
Notifications
You must be signed in to change notification settings - Fork 148
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
Git clone results in "fatal: Unable to find remote helper for 'https'" when using a local git executable #113
Comments
@kittaakos ah, I think I know this one. We set
Two potential ways out of this:
|
Thank you, @shiftkey! Both approaches work perfectly. I would say; when one sets the Unfortunately, even if I set both environment variables, the The following would be my expectation about the behavior; when the custom Would that change make sense to you? Do you accept contributions? Also, please correct me if I misunderstood something. Thanks in advance! |
Yes! This makes sense, it was just me not considering the full range of scenarios. And I like respecting the existing environment variable, as it avoids us executing a
I do! Happy to review and work with you on a fix if you're feeling up to it! |
Awesome! I was put on another project, but I do my best to come up with a PR in this week. Bear with me. |
And will not be calculated based on the Git directory. Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
PR: #114. |
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
GH-113: Made sure that `GIT_EXEC_PATH` is used as is when configured.
Fixed by #114 |
... and it works as expected both when I use the executable with
dugite
and when I usechild_process
. Maybe it is not the appropriate channel to ask for help, but I was unable to clone any public repositories (without required authentication) when I set theLOCAL_GIT_DIRECTORY
environment variable. Does anyone have a pointer what am I doing wrong? Any help would be greatly appreciated.Here a very
stupidsimple module that does the cloning with bothdugite
and with thechild_process
.index.js
package.json
The text was updated successfully, but these errors were encountered: