]> git.ipfire.org Git - thirdparty/git.git/commit - git-svn.perl
git-svn: Set svn.authorsfile to an absolute path when cloning
authorAlex Vandiver <alex@chmrr.net>
Tue, 8 Dec 2009 20:54:10 +0000 (15:54 -0500)
committerEric Wong <normalperson@yhbt.net>
Wed, 9 Dec 2009 04:38:39 +0000 (20:38 -0800)
commit2bc35dcbf7ed702e92b925f8e50afe3632dd211b
tree81ea66bd2cd0a2aa1dbae5797e9d4755c8a2ab7c
parentf9ad77a739c0d012ee58b64eda2d7ec0d4e1df9d
git-svn: Set svn.authorsfile to an absolute path when cloning

If --authors-file is passed a relative path, cloning will work, but
future `git svn fetch`es will fail to locate the authors file
correctly.  Thus, use File::Spec->rel2abs to determine an absolute
path for the authors file before setting it.

Signed-off-by: Alex Vandiver <alex@chmrr.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl