1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 13:52:40 +01:00

Don't display old lines on right side in diff

Summary: I've done the same stupid copy/paste mistake twice in one day :-(.

Test Plan: Display diff with no newline at end of file in new file.

Reviewers: davidreuss, epriestley

Reviewed By: davidreuss

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1911
This commit is contained in:
vrana 2012-03-15 05:19:46 -07:00
parent 0c728bd7a3
commit d8bb59bd9a

View file

@ -1377,7 +1377,7 @@ final class DifferentialChangesetParser {
if ($this->new[$ii]['type']) {
if ($this->new[$ii]['type'] == '\\') {
$n_text = $this->old[$ii]['text'];
$n_text = $this->new[$ii]['text'];
$n_attr = ' class="comment"';
} elseif (empty($this->old[$ii])) {
$n_attr = ' class="new new-full"';