mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
Minor, fix an issue with synthetic diff construction for files with several blank lines at the end.
This commit is contained in:
parent
53b06d1a52
commit
f8932b83da
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ final class PhabricatorDifferenceEngine {
|
|||
// whitespace changes, just drop these lines if they appear anywhere
|
||||
// in the diff.
|
||||
|
||||
$lines = explode("\n", rtrim($diff));
|
||||
$lines = explode("\n", $diff);
|
||||
foreach ($lines as $key => $line) {
|
||||
if (isset($line[0]) && $line[0] == '\\') {
|
||||
unset($lines[$key]);
|
||||
|
|
Loading…
Reference in a new issue