[Fusionforge-commits] FusionForge branch master updated. 1cccfa4f9d45e763d3b3be13574481a60c5b7bb4

Franck VILLAUME nerville at fusionforge.org
Sat Nov 2 16:55:07 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  1cccfa4f9d45e763d3b3be13574481a60c5b7bb4 (commit)
      from  aeaf2469fb7f6b07f24e988e95dee8ffa12b5565 (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 1cccfa4f9d45e763d3b3be13574481a60c5b7bb4
Author: Jose Angel Diaz Diaz <skymix.es2 at gmail.com>
Date:   Wed Oct 30 15:43:01 2013 +0100

    Fix GitPlugin Class with mode D for gather stats
    Signed-off-by: Franck Villaume <franck.villaume at trivialdev.com>

diff --git a/src/plugins/scmgit/common/GitPlugin.class.php b/src/plugins/scmgit/common/GitPlugin.class.php
index 86fc2a8..532b7f8 100644
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@ -735,7 +735,7 @@ class GitPlugin extends SCMPlugin {
 					} else {
 						// Short-commit stats line
-						preg_match("/^(?P<mode>[AM])\s+(?P<file>.+)$/", $line, $matches);
+						preg_match("/^(?P<mode>[AMD])\s+(?P<file>.+)$/", $line, $matches);
 						if ($last_user == "") continue;
 						if (!isset ($usr_adds[$last_user])) $usr_adds[$last_user] = 0;
 						if (!isset ($usr_updates[$last_user])) $usr_updates[$last_user] = 0;


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


More information about the Fusionforge-commits mailing list