Skip to content

Commit 42a5da1

Browse files
alexmvEric Wong
authored andcommitted
git-svn: Set svn.authorsfile if it is passed to git svn clone
Signed-off-by: Alex Vandiver <[email protected]> Acked-by: Eric Wong <[email protected]>
1 parent b6c6177 commit 42a5da1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-svn.perl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ sub cmd_clone {
361361
$path = basename($url) if !defined $path || !length $path;
362362
cmd_init($url, $path);
363363
Git::SVN::fetch_all($Git::SVN::default_repo_id);
364+
command_oneline('config', 'svn.authorsfile', $_authors) if $_authors;
364365
}
365366

366367
sub cmd_init {

0 commit comments

Comments
 (0)