From 827a150d441b98f89a35cfc9f1a1726c5ef0f2e2 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sun, 12 Sep 2010 00:19:03 -0400 Subject: [PATCH] Attempt to fix mirroring. --- taskd/clone.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/taskd/clone.sh b/taskd/clone.sh index d6c080d..f056af8 100755 --- a/taskd/clone.sh +++ b/taskd/clone.sh @@ -25,8 +25,7 @@ case "$url" in svn://* | svn+http://* | svn+https://*) # we just remote svn+ here, so svn+http://... becomes http://... svnurl="${url#svn+}" - GIT_DIR=. git svn init -s "$svnurl" - GIT_DIR=. git svn fetch + GIT_DIR=. git svn fetch "$svnurl" # Neat Trick suggested by Miklos Vajna GIT_DIR=. git config remote.origin.url . GIT_DIR=. git config remote.origin.fetch '+refs/remotes/heads/*:refs/heads/*' -- 2.11.4.GIT