com karma: Show branches to which a commit applies in the commit mail: lib/Git/PostReceiveHook.php

From: Date: Tue, 20 Mar 2012 17:47:02 +0000
Subject: com karma: Show branches to which a commit applies in the commit mail: lib/Git/PostReceiveHook.php
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-68083@lists.php.net to get a copy of this message
Commit: 9017e6f22c422a2b3a9f1677e514893ea096cb7e Author: David Soria Parra <dsp@php.net> Tue, 20 Mar 2012 18:47:02 +0100 Parents: 14bb87dbb769d3795797921014e4b9cc14da412f Link: http://git.php.net/?p=karma.git;a=commitdiff;h=9017e6f22c422a2b3a9f1677e514893ea096cb7e Log: Show branches to which a commit applies in the commit mail Changed paths: M lib/Git/PostReceiveHook.php Diff: 9017e6f22c422a2b3a9f1677e514893ea096cb7e diff --git a/lib/Git/PostReceiveHook.php b/lib/Git/PostReceiveHook.php index 16ef70a..155797c 100644 --- a/lib/Git/PostReceiveHook.php +++ b/lib/Git/PostReceiveHook.php @@ -517,6 +517,7 @@ class PostReceiveHook extends ReceiveHook } if ($info['parents']) $message .= 'Parents: ' . $info['parents'] . "\n"; + $message .= "\n" . "Branches: " . implode(' ', $branches) . "\n"; $message .= "\n" . "Link: http://git.php.net/?p=" . $this->getRepositoryName() . ";a=commitdiff;h=" . $revision . "\n"; $message .= "\nLog:\n" . $info['log'] . "\n";

« previous php.cvs (#68083) next »