threads / patch / 19204

patchgit-svn: Set svn.authorsfile if it is passed to git svn clone

Subject: [PATCH] git-svn: Set svn.authorsfile if it is passed to git svn clone

## tl;dr

One message between May 6, 2009 and May 6, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Alex Vandiver· May 6, 2009, 20:19 UTC · lore
Signed-off-by: Alex Vandiver <alexmv@mit.edu>
---
 git-svn.perl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Show changes to git-svn.perl +1 −0
diff --git a/git-svn.perl b/git-svn.perl
index ef1d30d..67265c3 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 {
-- 
1.6.3.rc4.225.g060aa4

← back to recent threads