svn: SVNROOT/ commit-email.php
[email protected] (Rasmus Lerdorf) Sun, 19 Jul 09 22:32:22 +0000
| Newsgroups | php.cvs,svn.migration |
|---|---|
| Message-ID | <[email protected]> |
--017a5849857dd7a3d1eea5c532d04d03af91d40a
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
rasmus Sun, 19 Jul 2009 22:32:22 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=284393
Changed paths:
U SVNROOT/commit-email.php
Log:
Whitespace tweaks
Modified: SVNROOT/commit-email.php
===================================================================
--- SVNROOT/commit-email.php 2009-07-19 22:23:38 UTC (rev 284392)
+++ SVNROOT/commit-email.php 2009-07-19 22:32:22 UTC (rev 284393)
@@ -219,7 +219,7 @@
$bugs_body = '';
if ($bugs) {
include '/home/svn/SVNROOT/secret.inc';
- $bugs_body = (count($bugs_array[1])>1) ? "Bugs: " : "Bug: ";
+ $bugs_body = (count($bugs_array[1])>1) ? "\r\nBugs: " : "\r\nBug: ";
foreach ($bugs_array[1] as $k=>$bug_id) {
$bug_sdesc = '';
$bug_status = '';
@@ -238,8 +238,8 @@
if($ret !== false ) {
$json = json_decode($ret,true);
if(isset($json['result']['status'])) {
- $bug_status = '('.$json['result']['status']['status'].')';
- $bug_sdesc = $json['result']['status']['sdesc'];
+ $bug_status = ' ('.$json['result']['status']['status'].')';
+ $bug_sdesc = ' '.$json['result']['status']['sdesc'];
}
}
curl_close($ch);
@@ -256,14 +256,13 @@
"{$commit_user}\t\t" . date(DATE_RFC2822, $commit_date) . "\r\n" .
"\r\n" .
"Revision: http://svn.php.net/viewvc?view=revision&revision={$REV}\r\n" .
- "\r\n". $bugs_body .
"\r\n" .
"Changed paths:\r\n" .
"\t" . implode("\r\n\t", $changed_paths) . "\r\n" .
"\r\n" .
"Log:\r\n" .
$commit_log . "\r\n" .
- "\r\n" .
+ "$bugs_body\r\n" .
$diffs_string;
if ($diffs_string === NULL) {
--017a5849857dd7a3d1eea5c532d04d03af91d40a--