mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +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)) {
|
||||
$body[] = $this->formatText("{$file}:{$range} {$content}");
|
||||
} else {
|
||||
$body[] = "================";
|
||||
$body[] = "Comment at: " . $file . ":" . $range;
|
||||
|
||||
$changeset->attachHunks($changeset->loadHunks());
|
||||
$body[] = $changeset->makeContextDiff($inline, 1);
|
||||
$body[] = null;
|
||||
$body[] = "----------------";
|
||||
|
||||
$content = $inline->getContent();
|
||||
$body[] = $content;
|
||||
|
|
Loading…
Reference in a new issue