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
F15458316: D21159.diff
Sun, Mar 30, 11:02 PM
F15457451: D21159.id50378.diff
Sun, Mar 30, 4:52 PM
F15457033: D21159.id50377.diff
Sun, Mar 30, 1:53 PM
F15452504: D21159.id.diff
Sat, Mar 29, 5:23 AM
F15449824: D21159.diff
Fri, Mar 28, 12:23 PM
F15420772: D21159.diff
Fri, Mar 21, 5:04 PM
F15416513: D21159.id50378.diff
Thu, Mar 20, 11:44 AM
F15412914: D21159.diff
Wed, Mar 19, 3:44 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