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
F14754901: D21433.id51003.diff
Tue, Jan 21, 3:41 PM
Unknown Object (File)
Tue, Jan 21, 12:56 PM
Unknown Object (File)
Fri, Jan 17, 7:13 PM
Unknown Object (File)
Dec 19 2024, 1:00 AM
Unknown Object (File)
Dec 18 2024, 7:21 PM
Unknown Object (File)
Dec 16 2024, 6:17 PM
Unknown Object (File)
Dec 16 2024, 9:00 AM
Unknown Object (File)
Nov 30 2024, 7:10 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