summaryrefslogtreecommitdiff
path: root/git-remote-testgit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-remote-testgit.sh')
-rwxr-xr-xgit-remote-testgit.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-remote-testgit.sh b/git-remote-testgit.sh
index 6d2f282d32..cbf470f64f 100755
--- a/git-remote-testgit.sh
+++ b/git-remote-testgit.sh
@@ -13,7 +13,8 @@ refspec="${GIT_REMOTE_TESTGIT_REFSPEC-$default_refspec}"
test -z "$refspec" && prefix="refs"
-export GIT_DIR="$url/.git"
+GIT_DIR="$url/.git"
+export GIT_DIR
mkdir -p "$dir"