Skip to main content

git_program

Function git_program 

Source
pub fn git_program() -> &'static OsStr
Expand description

How network commands get HTTPS credentials; the daemon sets it from credentials.https_mode before each network operation. How network commands get HTTPS credentials; the daemon sets it from credentials.https_mode before each network operation. How network commands get HTTPS credentials; the daemon sets it from credentials.https_mode before each network operation. The git executable every spawn uses, resolved once per process.

Order: the GITPOULPI_GIT environment variable; on Windows the real mingw64\bin\git.exe when git on PATH is Git for Windows’ cmd\git.exe shim (the shim starts a second process, roughly doubling every spawn); otherwise plain git, left to the OS PATH lookup.