do the configuration in git-check.sh
authorBaris Metin <Talip-Baris.Metin@sophia.inria.fr>
Sat, 22 May 2010 20:03:38 +0000 (22:03 +0200)
committerBaris Metin <Talip-Baris.Metin@sophia.inria.fr>
Sat, 22 May 2010 20:03:38 +0000 (22:03 +0200)
scripts/git-check.sh
scripts/git-clone.sh

index 3b6ef0d..5b30f8f 100755 (executable)
@@ -47,7 +47,7 @@ function upload_archives () {
            echo -n $i "Setting.. "; 
            cat >> $git/config <<EOF
 [daemon]
-       uploadpack = false
+       uploadpack = true
        uploadarch = true
 EOF
        fi
index 5096764..bdd86f6 100755 (executable)
@@ -28,14 +28,6 @@ function clone () {
         mv ${GIT_WORKDIR}/.git ${GIT_REPO}
         rm -rf ${GIT_WORKDIR}
 
-        pushd $GIT_REPO
-        # enable clone with git:// protocol
-        # git-config daemon.uploadpack true
-
-        # enable archive with git:// procotol
-        git-config daemon.uploadarchive true
-        popd
-
     done
 }