-
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
How does the library resolve the the git executable when not given in env vars? #165
Comments
@ysabri when you install the You should have a layout similar to this:
To resolve the Git distribution directory, this function is used if Lines 3 to 8 in def353b
This is basically looking for the When Lines 52 to 61 in def353b
Let me know if you have any other questions about this. |
So I have been wondering how does dugite resolve the the git executable path.
From what I have seen in the code; if given, it uses either the GIT_EXEC_PATH or the LOCAL_GIT_DIRECTORY, which after reading the documentation I am not sure what is the difference between them?
My problem is when the library is not given any of the above vars, how does it resolve the git executable path?
I am wondering this, because when I included the library in my app and ran git config --list both my email and name were configured already. How does this happen if dugite is using its own installation of git? What happens if there is no local install of git because as far as I know git won't commit without a name and email setup. Thanks!
The text was updated successfully, but these errors were encountered: