We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 49fa3dc + fe17fc0 commit 8ffc9d2Copy full SHA for 8ffc9d2
t/t2300-cd-to-toplevel.sh
@@ -8,7 +8,8 @@ test_cd_to_toplevel () {
8
test_expect_success $3 "$2" '
9
(
10
cd '"'$1'"' &&
11
- . "$(git --exec-path)"/git-sh-setup &&
+ PATH="$(git --exec-path):$PATH" &&
12
+ . git-sh-setup &&
13
cd_to_toplevel &&
14
[ "$(pwd -P)" = "$TOPLEVEL" ]
15
)
0 commit comments