summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorAlex Vandiver <alexmv@MIT.EDU>2009-05-06 16:19:45 -0400
committerEric Wong <normalperson@yhbt.net>2009-05-21 00:31:08 -0700
commit42a5da1806fd6891d4fcc0ad9c0e550c12f75df5 (patch)
tree60fce6c2f2f370c10235c1fbca7289d7759eea07 /git-svn.perl
parentb6c61778d4fa57904d5b818e0ca04292aa1d0335 (diff)
downloadgit-42a5da1806fd6891d4fcc0ad9c0e550c12f75df5.tar.gz
git-svn: Set svn.authorsfile if it is passed to git svn clone
Signed-off-by: Alex Vandiver <alexmv@mit.edu> Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index eebcf0f20e..e927965ac4 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -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 {