com karma: add repository name to log: lib/Git/ReceiveHook.php
| From: | Alexander Moskaliov | Date: | Thu, 22 Mar 2012 12:36:36 +0000 |
| Subject: | com karma: add repository name to log: lib/Git/ReceiveHook.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68141@lists.php.net to get a copy of this message | ||
Commit: 27a6e56893c4bbb46b11d8270cef1874d1e9b0ac
Author: Alexander Moskaliov <irker@php.net> Thu, 22 Mar 2012 16:36:36 +0400
Parents: 34cd04cc94a253a3ea31eea0cfa376b1ab205a81
Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=27a6e56893c4bbb46b11d8270cef1874d1e9b0ac
Log:
add repository name to log
Changed paths:
M lib/Git/ReceiveHook.php
Diff:
27a6e56893c4bbb46b11d8270cef1874d1e9b0ac
diff --git a/lib/Git/ReceiveHook.php b/lib/Git/ReceiveHook.php
index 5f30d9a..0c0bcf1 100644
--- a/lib/Git/ReceiveHook.php
+++ b/lib/Git/ReceiveHook.php
@@ -125,7 +125,7 @@ abstract class ReceiveHook
*/
public function hookInput()
{
- $this->log('New hook call '. date('r'));
+ $this->log('New hook call ' . $this->getRepositoryName() . ' ' .
date('r'));
$parsed_input = [];
while (!feof(STDIN)) {