mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Make comments easier to read.
This commit is contained in:
parent
17217fda28
commit
0ce886121c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue