]> rtime.felk.cvut.cz Git - git.git/commitdiff
git-svn: make git svn --version work again
authorMichael J Gruber <git@drmicha.warpmail.net>
Thu, 4 Mar 2010 10:23:53 +0000 (11:23 +0100)
committerEric Wong <normalperson@yhbt.net>
Fri, 5 Mar 2010 11:02:51 +0000 (03:02 -0800)
by requesting SVN::Core which is needed for the svn version.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl

index 7bca381c4bc5faf2a605546a0ceda6599036f4cb..1a26843f44d687c5b89c118c31d5c088b41a1cb2 100755 (executable)
@@ -351,6 +351,7 @@ information.
 }
 
 sub version {
+       ::_req_svn();
        print "git-svn version $VERSION (svn $SVN::Core::VERSION)\n";
        exit 0;
 }