Re: [PATCH 04/19] completion: respect $GIT_DIR
Am 5/9/2012 2:44, schrieb SZEDER Gábor:
Show 7 quoted lines
> +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 <j6t@kdbg.org>
Subject: [PATCH] fixup! completion: respect $GIT_DIR
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
---
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