Homec4science

Clean up copy detection code a bit

Authored by epriestley <git@epriestley.com> on Mar 24 2015, 21:12.

Description

Clean up copy detection code a bit

Summary:
Ref T1266. This doesn't change any behaviors, but some of this code has a lot of really complicated conditionals and I tried to break that up a bit.

Also, reexpress this stuff in terms of the "structured" parser in D12144.

Test Plan: Unit tests still pass. They aren't hugely comprehensive but did reliably fail when I screwed stuff up.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T1266

Differential Revision: https://secure.phabricator.com/D12145

Details

Committed
epriestley <git@epriestley.com>Mar 24 2015, 21:12
Pushed
aubortJan 31 2017, 17:16
Parents
rPH74a4c2cf0b1b: Provide better parsing primitives for hunks
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH373aaa643a51: Clean up copy detection code a bit (authored by epriestley <git@epriestley.com>).Mar 24 2015, 21:12