Page MenuHomePhabricator

Fix another issue with line order on unified diffs
ClosedPublic

Authored by epriestley on Mar 5 2015, 11:47 PM.
Tags
None
Referenced Files
F18808621: D11992.diff
Sun, Oct 19, 7:35 AM
F18791805: D11992.id28875.diff
Thu, Oct 16, 6:12 PM
F18689812: D11992.id28875.diff
Sep 26 2025, 6:46 PM
F18630967: D11992.diff
Sep 16 2025, 1:48 PM
F18621275: D11992.diff
Sep 15 2025, 7:36 AM
F18342769: D11992.diff
Aug 26 2025, 5:10 AM
F18092399: D11992.id28875.diff
Aug 7 2025, 10:02 AM
F18091677: D11992.id28876.diff
Aug 7 2025, 12:07 AM
Subscribers

Details

Summary

This improves some cases with interleaved added and removed lines, and adds test coverage.

Test Plan
  • Added and executed unit tests.
  • Viewed raw diff and saw sensible/expected output.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix another issue with line order on unified diffs.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 6 2015, 12:22 AM
This revision was automatically updated to reflect the committed changes.