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  c330909cdf48a4dae7fe084c0afd55e0ad34cb95 (commit)
      from  3253817f2fc66db7b02b2120e8891a4cf2a25fec (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 c330909cdf48a4dae7fe084c0afd55e0ad34cb95
Author: Roland Mas <[email protected]>
Date:   Tue Jun 2 10:55:28 2015 +0200

    Partial fix for [#772]: fixed email subject

diff --git 
a/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email 
b/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
index ac6c64c..a6e09fe 100755
--- 
a/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
+++ 
b/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
@@ -251,7 +251,7 @@ generate_email()
        # Email parameters
        # The email subject will contain the best description of the ref
        # that we can build from the parameters
-       describe=$(git describe $rev 2>/dev/null)
+       describe=$(git show --no-patch --format="%h %s" $rev 2>/dev/null)
        if [ -z "$describe" ]; then
                describe=$rev
        fi

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

Summary of changes:
 .../scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email 
b/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
index ac6c64c..a6e09fe 100755
--- 
a/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
+++ 
b/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
@@ -251,7 +251,7 @@ generate_email()
        # Email parameters
        # The email subject will contain the best description of the ref
        # that we can build from the parameters
-       describe=$(git describe $rev 2>/dev/null)
+       describe=$(git show --no-patch --format="%h %s" $rev 2>/dev/null)
        if [ -z "$describe" ]; then
                describe=$rev
        fi


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to