1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 14:30:56 +01:00

Make comments easier to read.

This commit is contained in:
Manuel Klimek 2012-08-13 08:08:30 +00:00 committed by Manuel Klimek
parent 17217fda28
commit 0ce886121c

View file

@ -170,11 +170,12 @@ final class DifferentialCommentMail extends DifferentialMail {
'metamta.differential.unified-comment-context', false)) { 'metamta.differential.unified-comment-context', false)) {
$body[] = $this->formatText("{$file}:{$range} {$content}"); $body[] = $this->formatText("{$file}:{$range} {$content}");
} else { } else {
$body[] = "================";
$body[] = "Comment at: " . $file . ":" . $range; $body[] = "Comment at: " . $file . ":" . $range;
$changeset->attachHunks($changeset->loadHunks()); $changeset->attachHunks($changeset->loadHunks());
$body[] = $changeset->makeContextDiff($inline, 1); $body[] = $changeset->makeContextDiff($inline, 1);
$body[] = null; $body[] = "----------------";
$content = $inline->getContent(); $content = $inline->getContent();
$body[] = $content; $body[] = $content;