From: Johannes Sixt Date: Wed, 09 May 2012 08:09:30 GMT Subject: Re: [PATCH 04/19] completion: respect $GIT_DIR Message-ID: <4FAA263A.4000207@viscovery.net> In-Reply-To: <1336524290-30023-5-git-send-email-szeder@ira.uka.de> Am 5/9/2012 2:44, schrieb SZEDER Gábor: > +test_expect_success 'gitdir - non-existing $GIT_DIR' ' > + ( > + GIT_DIR="$TRASH_DIRECTORY/non-existing" && > + export GIT_DIR && > + test_must_fail __gitdir > + ) > +' Another fixup, but it is only for consistency. --- >8 --- From: Johannes Sixt Subject: [PATCH] fixup! completion: respect $GIT_DIR Signed-off-by: Johannes Sixt --- t/t9903-bash-prompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t9903-bash-prompt.sh b/t/t9903-bash-prompt.sh index cf8e0ca..0318288 100755 --- a/t/t9903-bash-prompt.sh +++ b/t/t9903-bash-prompt.sh @@ -108,7 +108,7 @@ test_expect_success 'gitdir - $GIT_DIR set while .git directory in parent' ' test_expect_success 'gitdir - non-existing $GIT_DIR' ' ( - GIT_DIR="$TRASH_DIRECTORY/non-existing" && + GIT_DIR="$(pwd)/non-existing" && export GIT_DIR && test_must_fail __gitdir ) -- 1.7.10.1.1689.gacdfbde