summaryrefslogtreecommitdiff
path: root/src/annotated_commit.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2022-01-17 17:16:02 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2022-01-17 22:02:12 -0500
commit475c6eba4f5ad806b68ebf399818a7e9e9ec4a18 (patch)
tree81f894596bdf8f71bced4fa060043653066b7bce /src/annotated_commit.c
parent925abee95b55ab24b0cf92771c713569f1f128f4 (diff)
downloadlibgit2-ethomson/win32_findfile_fixes.tar.gz
win32: improve impl & tests for system path / g4w interopethomson/win32_findfile_fixes
We look for a Git for Windows installation to use its git config, so that clients built on libgit2 can interoperate with the Git for Windows CLI (and clients that are built on top of _it_). Look for `git` both in the `PATH` and in the registry. Use the _first_ git install in the path, and the first git install in the registry. Look in both the `etc` dir and the architecture-specific `etc` dirs (`mingw64/etc` and `mingw32/etc`) beneath the installation root. Prefer the git in the `PATH` to the git location in the registry so that users can override that. Include more tests for this behavior.
Diffstat (limited to 'src/annotated_commit.c')
0 files changed, 0 insertions, 0 deletions