git-svn: Set svn.authorsfile if it is passed to git svn clone
authorAlex Vandiver <alexmv@MIT.EDU>
Wed, 6 May 2009 20:19:45 +0000 (16:19 -0400)
committerEric Wong <normalperson@yhbt.net>
Thu, 21 May 2009 07:31:08 +0000 (00:31 -0700)
Signed-off-by: Alex Vandiver <alexmv@mit.edu>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl

index eebcf0f20ebc4b899aeaeb5ac06d8f3a394b4407..e927965ac4f859dd439b1b77f82a3fd06cf82635 100755 (executable)
@@ -361,6 +361,7 @@ sub cmd_clone {
        $path = basename($url) if !defined $path || !length $path;
        cmd_init($url, $path);
        Git::SVN::fetch_all($Git::SVN::default_repo_id);
+       command_oneline('config', 'svn.authorsfile', $_authors) if $_authors;
 }
 
 sub cmd_init {