[Fusionforge-commits] FusionForge branch master updated. 7a8c363290f890a51fd4d61d68099de284efff3b

Roland Mas lolando at fusionforge.org
Wed Feb 27 09:53:33 CET 2013


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, master has been updated
       via  7a8c363290f890a51fd4d61d68099de284efff3b (commit)
       via  6bb32112ed6e1316d4a72203bac5a7e056d2a5f0 (commit)
       via  35b1542e581de991ca234f55c96aa79d8409efd0 (commit)
       via  7e1c644e512bb12d109b9359ac65ba3b8510f96e (commit)
       via  544455f7a0d37c6837c8d97812edfe28310d276e (commit)
       via  acd90ac5fd7d7c0356661bf27de493cb6576e198 (commit)
       via  9cae1ad87cb9f8465d303e327acaada1b95f28c0 (commit)
       via  871c173388a6d2f4f3787bde30c035ac010b2708 (commit)
       via  20c6d5ff69850dce6fdb39f458ddf84200f627d8 (commit)
       via  1f1f1ed9304b4f190f473dc02d15032ed267b2b6 (commit)
       via  975a4f3fd89de3e10f5a921521fa10dd926681db (commit)
       via  deb656eb52310014ac9fa2cacd7df95fa1c4cf42 (commit)
       via  744c38f3778c49337fe832c1cba62726da5ddfe6 (commit)
       via  2483d99502a80cecd6086421438ad56028b2b9c6 (commit)
       via  9937b9d94ab60ff67fe249c1b9a6c8e3fc1778ba (commit)
      from  e4f0de62b30246e191da96bd4a79c73aa1b75662 (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 7a8c363290f890a51fd4d61d68099de284efff3b
Merge: e4f0de6 6bb3211
Author: Roland Mas <lolando at debian.org>
Date:   Wed Feb 27 09:53:08 2013 +0100

    Merged from 5.2

diff --cc src/plugins/scmgit/common/GitPlugin.class.php
index 3fae298,fa33960..6cd5eb0
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@@ -411,9 -326,9 +411,10 @@@ class GitPlugin extends SCMPlugin 
  			$unix_group = forge_get_config('apache_group');
  		}
  
 +		// Create main repository
  		$main_repo = $root . '/' .  $project_name . '.git' ;
- 		if (!is_file ("$main_repo/HEAD") && !is_dir("$main_repo/objects") && !is_dir("$main_repo/refs")) {
+ 		if (!is_dir($main_repo) || (!is_file("$main_repo/HEAD") &&
+ 		    !is_dir("$main_repo/objects") && !is_dir("$main_repo/refs"))) {
  			$tmp_repo = util_mkdtemp('.git', $project_name);
  			if ($tmp_repo == false) {
  				return false;

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

Summary of changes:
 src/common/include/utils.php                  |    9 +++++++--
 src/plugins/scmgit/common/GitPlugin.class.php |   13 +++++++++++--
 2 files changed, 18 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list