mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Add back the exec_path checks that were removed inadvertedly.
This commit is contained in:
@@ -44,6 +44,8 @@ int execv_git_cmd(const char **argv)
|
||||
const char *exec_dir = paths[i];
|
||||
const char *tmp;
|
||||
|
||||
if (!exec_dir || !*exec_dir) continue;
|
||||
|
||||
#ifdef __MINGW32__
|
||||
if (*exec_dir != '/' && exec_dir[1] != ':') {
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user