[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 045b3f636cc0e9d679703fc9ae996731358adc8f
Franck VILLAUME
nerville at fusionforge.org
Mon Feb 10 14:28:32 CET 2014
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, Branch_5_3 has been updated
via 045b3f636cc0e9d679703fc9ae996731358adc8f (commit)
from b648479152b0aaeb5cd7b7c82d1ad6820cc468a5 (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 -----------------------------------------------------------------
commit 045b3f636cc0e9d679703fc9ae996731358adc8f
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Mon Feb 10 14:28:11 2014 +0100
scmgit: fix weird owner when creating clone personal repository
diff --git a/src/plugins/scmgit/common/GitPlugin.class.php b/src/plugins/scmgit/common/GitPlugin.class.php
index 2e34451..ff00617 100644
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@ -399,6 +399,7 @@ class GitPlugin extends SCMPlugin {
}
if (!is_file("$repodir/HEAD") && !is_dir("$repodir/objects") && !is_dir("$repodir/refs")) {
system("git clone --bare $main_repo $repodir");
+ system("chown -R $user_name $repodir");
system("GIT_DIR=\"$repodir\" git update-server-info");
if (is_file("$repodir/hooks/post-update.sample")) {
rename("$repodir/hooks/post-update.sample",
-----------------------------------------------------------------------
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