]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-clone.sh
Fix CDPATH problem.
[thirdparty/git.git] / git-clone.sh
index c0762922751a8f906116e74fd8a2c2ce19194b2b..a21f13af2ab1ea54db3b8919a5fbb00c5bb59bf4 100755 (executable)
@@ -5,6 +5,9 @@
 # 
 # Clone a repository into a different directory that does not yet exist.
 
+# See git-sh-setup why.
+unset CDPATH
+
 usage() {
        echo >&2 "* git clone [-l [-s]] [-q] [-u <upload-pack>] <repo> <dir>"
        exit 1