File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1468,6 +1468,18 @@ GIT_TEMPLATE_DIR="$GIT_TEST_TEMPLATE_DIR"
14681468GIT_CONFIG_NOSYSTEM=1
14691469GIT_ATTR_NOSYSTEM=1
14701470GIT_CEILING_DIRECTORIES=" $TRASH_DIRECTORY /.."
1471+ case " $( $SHELL --help 2>&1 ) " in
1472+ * BusyBox* )
1473+ # Unlike the MSYS2 Bash, BusyBox' ash does not translate
1474+ # MSYS2-style paths to Windows form when spawning the native
1475+ # git.exe, so it would be handed unusable "/d/..." paths. Convert
1476+ # the variables git.exe consumes as paths to a Win32-digestible
1477+ # form.
1478+ GIT_EXEC_PATH=" $( cygpath -m " $GIT_EXEC_PATH " ) "
1479+ GIT_TEMPLATE_DIR=" $( cygpath -m " $GIT_TEMPLATE_DIR " ) "
1480+ GIT_CEILING_DIRECTORIES=" $( cygpath -m " $GIT_CEILING_DIRECTORIES " ) "
1481+ ;;
1482+ esac
14711483export PATH GIT_EXEC_PATH GIT_TEMPLATE_DIR GIT_CONFIG_NOSYSTEM GIT_ATTR_NOSYSTEM GIT_CEILING_DIRECTORIES
14721484
14731485# Add libc MALLOC and MALLOC_PERTURB test only if we are not executing
You can’t perform that action at this time.
0 commit comments