[Fusionforge-commits] FusionForge branch 6.0 updated. v6.0.5-16-gef69428

Roland Mas lolando at libremir.placard.fr.eu.org
Thu May 24 14:32:44 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.0 has been updated
       via  ef69428c26c6c4ccb4b94696b1abb58d055ab6ba (commit)
      from  f43d97900a0343d3db9a5ca82f78fcd46290e5f9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=ef69428c26c6c4ccb4b94696b1abb58d055ab6ba

commit ef69428c26c6c4ccb4b94696b1abb58d055ab6ba
Author: Roland Mas <roland at placard.fr.eu.org>
Date:   Thu May 24 14:32:09 2018 +0200

    Configure repositories as shared when cloning from an existing repo

diff --git a/src/plugins/scmgit/common/GitPlugin.class.php b/src/plugins/scmgit/common/GitPlugin.class.php
index 9aebd16..9ec29cc 100644
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@ -511,6 +511,7 @@ control over it to the project's administrator.");
 			if (!is_file("$repodir/HEAD") && !is_dir("$repodir/objects") && !is_dir("$repodir/refs")) {
 				if ($clone_url != '') {
 					system("cd $root; LC_ALL=C git clone --quiet --bare $clone_url $repodir 2>&1 >/dev/null | grep -v 'warning: You appear to have cloned an empty repository.' >&2");
+					system("cd $repodir; LC_ALL=C git config core.sharedRepository group"); 
 				} else {
 					system("GIT_DIR=\"$repodir\" git init --quiet --bare --shared=group");
 				}

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/scmgit/common/GitPlugin.class.php | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list