X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=git-clone.sh;h=a21f13af2ab1ea54db3b8919a5fbb00c5bb59bf4;hb=28423758591577828672219c1031d463701a11cc;hp=c0762922751a8f906116e74fd8a2c2ce19194b2b;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;p=git.git diff --git a/git-clone.sh b/git-clone.sh index c0762922..a21f13af 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -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 ] " exit 1