git-svn: optimize --branch and --branch-all-ref