mirror of
https://github.com/git/git.git
synced 2026-03-14 02:43:25 +01:00
git_install_prefix() returns the install prefix of msysgit. For all other architectures it returns "". The path returned contains slashes. make_native_separator() takes a unix path (slashes) and converts the separators in place. On Windows slashes are converted to backslashes. All the code was available in help.c and is now moved to path.c. The new function will be used to located the templates and /etc/gitconfig. Signed-off-by: Steffen Prohaska <prohaska@zib.de>
8.7 KiB
8.7 KiB