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:
@@ -1377,7 +1377,7 @@ final class DifferentialChangesetParser {
|
|||||||
|
|
||||||
if ($this->new[$ii]['type']) {
|
if ($this->new[$ii]['type']) {
|
||||||
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"';
|
$n_attr = ' class="comment"';
|
||||||
} elseif (empty($this->old[$ii])) {
|
} elseif (empty($this->old[$ii])) {
|
||||||
$n_attr = ' class="new new-full"';
|
$n_attr = ' class="new new-full"';
|
||||||
|
|||||||
Reference in New Issue
Block a user