Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
i18n: notes: mark strings for translation
[gitweb.git]
/
t
/
t2300-cd-to-toplevel.sh
diff --git
a/t/t2300-cd-to-toplevel.sh
b/t/t2300-cd-to-toplevel.sh
index 3b01ad2e4de152d23bbe8267d3b1a5cafd615e88..cccd7d923aae118b3f80aa52763648a2b4b189f2 100755
(executable)
--- a/
t/t2300-cd-to-toplevel.sh
+++ b/
t/t2300-cd-to-toplevel.sh
@@
-8,6
+8,7
@@
test_cd_to_toplevel () {
test_expect_success $3 "$2" '
(
cd '"'$1'"' &&
+ PATH="$(git --exec-path):$PATH" &&
. git-sh-setup &&
cd_to_toplevel &&
[ "$(pwd -P)" = "$TOPLEVEL" ]