Page MenuHomePhabricator

Correct a case where a single-hunk diff may incorrectly be identified as multi-hunk by the Scope engine
ClosedPublic

Authored by epriestley on Mon, Apr 1, 5:40 PM.

Details

Summary

See PHI985. The layers above this may return array() to mean "one hunk with a line-1 offset". Accept either array() or array(1 => ...) to engage the scope engine.

Test Plan

See PHI985.

Diff Detail

Repository
rP Phabricator
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Mon, Apr 1, 5:40 PM
epriestley requested review of this revision.Mon, Apr 1, 5:42 PM
amckinley accepted this revision.Mon, Apr 1, 6:05 PM
This revision is now accepted and ready to land.Mon, Apr 1, 6:05 PM
This revision was automatically updated to reflect the committed changes.