[PATCH 1/4] t2300: use documented technique to invoke git-sh-setup
- From
- Matthew Ogilvie <mmogilvi_git@miniinfo.net>
- Date
- Nov 28, 2009, 18:38 UTC
- Message-ID
- <1259433537-3963-2-git-send-email-mmogilvi_git@miniinfo.net>
- In-Reply-To
- <1259433537-3963-1-git-send-email-mmogilvi_git@miniinfo.net>
This is needed to allow the test suite to run against a standard install bin directory instead of GIT_EXEC_PATH.
Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net> --- t/t2300-cd-to-toplevel.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t2300-cd-to-toplevel.sh b/t/t2300-cd-to-toplevel.sh index 3b01ad2..9965bc5 100755 --- a/t/t2300-cd-to-toplevel.sh +++ b/t/t2300-cd-to-toplevel.sh @@ -8,7 +8,7 @@ test_cd_to_toplevel () { test_expect_success $3 "$2" ' ( cd '"'$1'"' && - . git-sh-setup && + . "$(git --exec-path)"/git-sh-setup && cd_to_toplevel && [ "$(pwd -P)" = "$TOPLEVEL" ] )
-- 1.6.4.GIT