com karma: Typo: lib/Git/PostReceiveHook.php
| From: | David Soria Parra | Date: | Tue, 20 Mar 2012 17:54:04 +0000 |
| Subject: | com karma: Typo: lib/Git/PostReceiveHook.php | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-68090@lists.php.net to get a copy of this message | ||
Commit: 148ceef33ccd6edb12a4f6d962bd2a3860557415
Author: David Soria Parra <dsp@php.net> Tue, 20 Mar 2012 18:54:04 +0100
Parents: 44ed570277e783a94f05248cb767731ed5001e68
Branches: refs/heads/master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=148ceef33ccd6edb12a4f6d962bd2a3860557415
Log:
Typo
Changed paths:
M lib/Git/PostReceiveHook.php
Diff:
148ceef33ccd6edb12a4f6d962bd2a3860557415
diff --git a/lib/Git/PostReceiveHook.php b/lib/Git/PostReceiveHook.php
index e1286b6..314ca86 100644
--- a/lib/Git/PostReceiveHook.php
+++ b/lib/Git/PostReceiveHook.php
@@ -530,10 +530,9 @@ class PostReceiveHook extends ReceiveHook
$message .= "\nBugs:\n" . implode("\n", $bugs) . "\n";
}
-
$isTrivialMerge = empty($pathsString);
- if (!$isTrivalMerge && strlen($pathsString) < 8192) {
+ if (!$isTrivialMerge && strlen($pathsString) < 8192) {
// inline changed paths
$message .= "\nChanged paths:\n" . $pathsString . "\n";
if ((strlen($pathsString) + strlen($diff)) < 8192) {