Page MenuHomePhabricator

In 1-up source diffs, retain the "No newline at end of file" on "\" lines
ClosedPublic

Authored by epriestley on Aug 5 2020, 4:49 PM.
Tags
None
Referenced Files
F13167899: D21433.diff
Tue, May 7, 7:26 AM
Unknown Object (File)
Fri, May 3, 6:16 AM
Unknown Object (File)
Thu, Apr 25, 1:05 AM
Unknown Object (File)
Tue, Apr 23, 6:39 PM
Unknown Object (File)
Thu, Apr 18, 6:00 PM
Unknown Object (File)
Thu, Apr 11, 8:46 AM
Unknown Object (File)
Apr 7 2024, 9:58 PM
Unknown Object (File)
Mar 28 2024, 5:52 PM
Subscribers
None

Details

Summary

See PHI1839. Currently, the "No newline at end of file" text is dropped in the 1-up diff view for changes that affect a file with no trailing newline.

Track it through the construction of diff primitivies more carefully.

Test Plan

Screen Shot 2020-08-05 at 9.43.24 AM.png (549×327 px, 35 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable