From 278473bca975df32da8b9d9beef84f2d045c5d3c Mon Sep 17 00:00:00 2001 From: Franck Villaume Date: Mon, 28 Jan 2013 23:17:41 +0100 Subject: [PATCH] scmgit: fix RW url when use_dav is enable --- src/plugins/scmgit/common/GitPlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/scmgit/common/GitPlugin.class.php b/src/plugins/scmgit/common/GitPlugin.class.php index d59b464..90014c6 100644 --- a/src/plugins/scmgit/common/GitPlugin.class.php +++ b/src/plugins/scmgit/common/GitPlugin.class.php @@ -225,7 +225,7 @@ class GitPlugin extends SCMPlugin { $b .= '

'; foreach ($repo_list as $repo_name) { - $b .= '

git clone '.$protocol.'://'._('developername').'@' . $project->getSCMBox() . '/'. forge_get_config('repos_path', 'scmgit') .'/'. $project->getUnixName() .'/'. $repo_name .'.git

' ; + $b .= '

git clone '.$protocol.'://'._('developername').'@' . $project->getSCMBox() . '/'. forge_get_config('scm_root', 'scmgit') .'/'. $project->getUnixName() .'/'. $repo_name .'.git

' ; } } -- 2.1.4