Page MenuHomePhabricator

Don't pass "No newline at end of file." annotations to DocumentEngines as literal diff text
ClosedPublic

Authored by epriestley on Apr 23 2020, 3:21 AM.
Tags
None
Referenced Files
F15412914: D21159.diff
Wed, Mar 19, 3:44 PM
Unknown Object (File)
Feb 9 2025, 9:04 AM
Unknown Object (File)
Feb 9 2025, 9:04 AM
Unknown Object (File)
Feb 9 2025, 9:04 AM
Unknown Object (File)
Feb 9 2025, 9:04 AM
Unknown Object (File)
Feb 8 2025, 10:27 PM
Unknown Object (File)
Feb 4 2025, 9:02 PM
Unknown Object (File)
Jan 31 2025, 4:56 PM
Subscribers
None

Details

Summary

See PHI1707, which has a Jupyter notebook which fails to diff nicely when modified. The root cause seems to be that the document does not end in a newline.

Test Plan

Applied patch, diffed the file, got a Jupyter diff out of it.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable