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
F13210971: D21159.diff
Fri, May 17, 5:22 AM
F13194856: D21159.diff
Sun, May 12, 9:56 PM
F13179324: D21159.diff
Wed, May 8, 9:07 PM
Unknown Object (File)
Sat, May 4, 6:32 PM
Unknown Object (File)
Wed, Apr 24, 11:47 PM
Unknown Object (File)
Apr 11 2024, 3:59 PM
Unknown Object (File)
Mar 23 2024, 4:29 AM
Unknown Object (File)
Feb 13 2024, 9:10 AM
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
Branch
docengine1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24195
Build 33325: Run Core Tests
Build 33324: arc lint + arc unit