Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge git://git.bogomips.org/git-svn
author
Junio C Hamano
<gitster@pobox.com>
Wed, 9 Dec 2009 05:59:04 +0000
(21:59 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 9 Dec 2009 05:59:04 +0000
(21:59 -0800)
* git://git.bogomips.org/git-svn:
git-svn: set svn.authorsfile earlier when cloning
git-svn: Set svn.authorsfile to an absolute path when cloning
git-svn.perl
patch
|
blob
|
history
raw
(from parent 1:
77c29b4
)
diff --git
a/git-svn.perl
b/git-svn.perl
index 5a52068b129f6ab5daa76dc4da57c2e2fe2d8591..a4b052c71e9a3b7da1ac95aaf11a206152f8e1a4 100755
(executable)
--- a/
git-svn.perl
+++ b/
git-svn.perl
@@
-392,9
+392,11
@@
sub cmd_clone {
$path = $url;
}
$path = basename($url) if !defined $path || !length $path;
+ my $authors_absolute = $_authors ? File::Spec->rel2abs($_authors) : "";
cmd_init($url, $path);
+ command_oneline('config', 'svn.authorsfile', $authors_absolute)
+ if $_authors;
Git::SVN::fetch_all($Git::SVN::default_repo_id);
- command_oneline('config', 'svn.authorsfile', $_authors) if $_authors;
}
sub cmd_init {