[svk-commit] r3109 - branches/git-storage/lib/SVK

nobody at bestpractical.com nobody at bestpractical.com
Thu Oct 30 03:05:29 EDT 2008


Author: clkao
Date: Thu Oct 30 03:05:29 2008
New Revision: 3109

Modified:
   branches/git-storage/lib/SVK/Test.pm

Log:
use git init with git-dir.

Modified: branches/git-storage/lib/SVK/Test.pm
==============================================================================
--- branches/git-storage/lib/SVK/Test.pm	(original)
+++ branches/git-storage/lib/SVK/Test.pm	Thu Oct 30 03:05:29 2008
@@ -210,7 +210,7 @@
     my $pool = SVN::Pool->new_default;
     #chdir catdir(abs_path(dirname(__FILE__)), '..' );
     mkdir $repospath;
-    my $response = `chdir $repospath; git init`;
+    my $response = `git --git-dir $repospath/.git init`;
     return $repospath."/.git";
 }
 


More information about the svk-commit mailing list