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)
Tue, Jan 21, 8:31 PM
Unknown Object (File)
Fri, Jan 17, 11:58 PM
Unknown Object (File)
Thu, Dec 26, 10:53 AM
Unknown Object (File)
Tue, Dec 24, 5:26 PM
Unknown Object (File)
Dec 23 2024, 7:34 PM
Unknown Object (File)
Nov 28 2024, 2:03 PM
Unknown Object (File)
Nov 26 2024, 6:34 AM
Unknown Object (File)
Oct 24 2024, 7:46 AM
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