aboutsummaryrefslogtreecommitdiff
path: root/git-clone.sh
diff options
context:
space:
mode:
authorSasha Khapyorsky <sashak@voltaire.com>2006-09-14 05:24:04 +0300
committerJunio C Hamano <junkio@cox.net>2006-09-13 23:39:43 -0700
commit38529e28a4f465ad5d5f2fa249ca17da680bac5f (patch)
tree987d2cae63d91de099e5e9ec0a7945ca24e0d16f /git-clone.sh
parentb85c4bbbd7d16c084f0b2f0eb9678149d08d09e8 (diff)
downloadgit-38529e28a4f465ad5d5f2fa249ca17da680bac5f.tar.gz
git-38529e28a4f465ad5d5f2fa249ca17da680bac5f.tar.xz
Trivial support for cloning and fetching via ftp://.
This adds trivial support for cloning and fetching via ftp://. Signed-off-by: Sasha Khapyorsky <sashak@voltaire.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-clone.sh')
-rwxr-xr-xgit-clone.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-clone.sh b/git-clone.sh
index 7060bdab0..e1b3bf382 100755
--- a/git-clone.sh
+++ b/git-clone.sh
@@ -298,7 +298,7 @@ yes,yes)
fi
git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD" || exit 1
;;
- https://*|http://*)
+ https://*|http://*|ftp://*)
if test -z "@@NO_CURL@@"
then
clone_dumb_http "$repo" "$D"