Fix refs.c;:repack_without_ref() clean-up path
[gitweb.git] / git-clone.sh
index 7060bdab01f696c4a664fb243aac96b9a786f2f7..e1b3bf382f7683ec429e99eae13a3abc3b80e2b1 100755 (executable)
@@ -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"