HomePhorge

Don't use the "ignore all whitespace" algorithm on multi-hunk diffs

Description

Don't use the "ignore all whitespace" algorithm on multi-hunk diffs

Summary:
Diffs with missing context don't render properly in the "ignore all whitespace"
algorith, so don't try to use it. These diffs can occur if someone creates a
diff via the web interface, for example, or if they muck around in their copy of
'arc'.

See D473, T246 (a problem with D473), rPe5bb756b5191720 (revert of D473) and
T231.

Test Plan:
Viewed a diff with missing context from the web interface. Verified normal diffs
still rendered with all whitespace ignored.

Reviewed By: fratrik
Reviewers: jungejason, aran, tuomaspelkonen, fratrik
Commenters: jungejason
CC: aran, epriestley, fratrik, jungejason
Differential Revision: 500

Details

Provenance
epriestleyAuthored on Jun 22 2011, 4:12 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPae12262ef674: Add a hilarious joke.
Branches
Unknown
Tags
Unknown

Event Timeline