X-Git-Url: https://oss.titaniummirror.com/gitweb?p=git-utils.git;a=blobdiff_plain;f=update-mirror;fp=update-mirror;h=dfb9590e57c1305ff5108a8e67320c8812b429e6;hp=477b32a7bcf3284533e9c0504de3a9a7bbc80150;hb=40cc7ea14095b3e1dbc64d75e04704c61c62595a;hpb=14decadc73f454548b43b46950b93bf7e2b158b0 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