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 Apr 1 2019, 5:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 27, 3:07 AM
Unknown Object (File)
Wed, Jun 4, 12:09 PM
Unknown Object (File)
May 12 2025, 1:11 AM
Unknown Object (File)
May 7 2025, 3:09 PM
Unknown Object (File)
May 2 2025, 3:04 AM
Unknown Object (File)
Apr 30 2025, 1:29 PM
Unknown Object (File)
Apr 18 2025, 11:22 AM
Unknown Object (File)
Apr 13 2025, 8:44 PM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable