From: R. Steve McKown Date: Wed, 3 Nov 2010 16:20:18 +0000 (-0600) Subject: update-mirror doesn't created shared repositories X-Git-Url: https://oss.titaniummirror.com/gitweb?p=git-utils.git;a=commitdiff_plain;h=40cc7ea14095b3e1dbc64d75e04704c61c62595a update-mirror doesn't created shared repositories Mirrors managed by update-mirror are read-only. --- diff --git a/update-mirror b/update-mirror index 477b32a..dfb9590 100755 --- a/update-mirror +++ b/update-mirror @@ -38,7 +38,7 @@ case "$url" in svnurl="${url#svn+}" if [ -f "$cfg_reporoot/$projdir/.new_clone" ]; then echo "[$proj] initial git-svn setup" - git --git-dir . --bare init --shared=true + git --git-dir . --bare init git --git-dir . svn init -s --prefix=svn-origin/ "$svnurl" # have git-svn store branches under svn-origin/heads/* not svn-origin/* # FIXME: may need to do similar when new branches are added