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
F18777972: D21159.id.diff
Sat, Oct 11, 6:58 AM
F18754852: D21159.id50377.diff
Sun, Oct 5, 1:46 AM
F18519414: D21159.diff
Sep 5 2025, 4:57 PM
F18101034: D21159.id.diff
Aug 9 2025, 12:17 PM
F18084119: D21159.id50377.diff
Aug 5 2025, 1:48 PM
F17994791: D21159.id50378.diff
Aug 2 2025, 3:25 AM
F17941467: D21159.id.diff
Jul 31 2025, 5:30 AM
F17926209: D21159.diff
Jul 30 2025, 12:46 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