summaryrefslogtreecommitdiff
path: root/git-remote-testgit.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-06-06 11:38:51 -0700
committerJunio C Hamano <gitster@pobox.com>2014-06-06 11:38:51 -0700
commit3ea8ecc21ec87eb5173a7145db2d3653e5b5fa28 (patch)
treea36ec1bb47acf4cc7d94347a59cb947bebf62408 /git-remote-testgit.sh
parented47bbd1d05ce7f78a52639e1b1fb522b975b066 (diff)
parentc1cebcf4314a8f18ec06e6d10ce39f49a59076ec (diff)
downloadgit-3ea8ecc21ec87eb5173a7145db2d3653e5b5fa28.tar.gz
Merge branch 'ep/shell-assign-and-export-vars'
* ep/shell-assign-and-export-vars: scripts: more "export VAR=VALUE" fixes scripts: "export VAR=VALUE" construct is not portable
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 1c006a0518..a9c75a2360 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
force=