summaryrefslogtreecommitdiff
path: root/t/t6008-rev-list-submodule.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t6008-rev-list-submodule.sh')
-rwxr-xr-xt/t6008-rev-list-submodule.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6008-rev-list-submodule.sh b/t/t6008-rev-list-submodule.sh
index 88e96fb91b..c4af9ca0a7 100755
--- a/t/t6008-rev-list-submodule.sh
+++ b/t/t6008-rev-list-submodule.sh
@@ -23,7 +23,7 @@ test_expect_success 'setup' '
: > super-file &&
git add super-file &&
- git submodule add . sub &&
+ git submodule add "$(pwd)" sub &&
git symbolic-ref HEAD refs/heads/super &&
test_tick &&
git commit -m super-initial &&