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:
parent
0c728bd7a3
commit
d8bb59bd9a
1 changed files with 1 additions and 1 deletions
|
@ -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"';
|
||||
|
|
Loading…
Reference in a new issue