Commit: bdcf0e849a28c2b06017f225dd488bd26366bf88
Author: Derick Rethans(git...@derickrethans.nl)         Tue, 20 Mar 2012 
07:59:37 +0000
Committer: Derick Rethans(git...@derickrethans.nl)      Tue, 20 Mar 2012 
07:59:37 +0000
Parents: 3586d1c6652ce0f202daa2894d7862ff4e698140

Link: 
http://git.php.net/?p=karma.git;a=commitdiff;h=bdcf0e849a28c2b06017f225dd488bd26366bf88

Log:
Add commit message "subject" and change "commit" to "com" to save space.

Changed paths:
  M  lib/Git/PostReceiveHook.php


Diff:
bdcf0e849a28c2b06017f225dd488bd26366bf88
diff --git a/lib/Git/PostReceiveHook.php b/lib/Git/PostReceiveHook.php
index 4aec7b7..b05feca 100644
--- a/lib/Git/PostReceiveHook.php
+++ b/lib/Git/PostReceiveHook.php
@@ -567,7 +567,7 @@ class PostReceiveHook extends ReceiveHook
         $diff =  \Git::gitExec('diff-tree -c -p %s', 
escapeshellarg($revision));
 
         $mail = new \Mail();
-        $mail->setSubject($this->emailPrefix . 'commit ' . 
$this->getRepositoryName() . ': ' . implode(' ', array_keys($paths)));
+        $mail->setSubject($this->emailPrefix . 'com ' . 
$this->getRepositoryName() . ': ' . $info['subject'] . ': '. implode(' ', 
array_keys($paths)));
 
         $message = '';


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to