mirror of
https://we.phorge.it/source/phorge.git
synced 2025-04-09 02:48:41 +02:00
Summary: Fixes T10665. See that task for discussion. Because `$head_map` is not properly re-initialized for each ref we check, pushes which affect multiple branches (say, "A" and "B") can have information bleed from the first branch check to the second branch. To trigger a problem behavior, you can push one commit which updates an existing branch, plus one commit which creates a new branch. If they process in the right order, the `$head_map` from the updated branch will bleed into the `$head_map` for the new branch and trigger an incorrect head split detection. Test Plan: - Pushed a set of changes which updated `branch-a` and created `branch-b`. - Before change: improper detection of split heads. - After change: clean push. - Pushed a set of changes which split the head of `branch-d`. - Correct detection of split heads. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10665 Differential Revision: https://secure.phabricator.com/D15522 |
||
---|---|---|
.. | ||
application | ||
capability | ||
conduit | ||
config | ||
controller | ||
data | ||
doorkeeper | ||
edge | ||
engine | ||
engineextension | ||
exception | ||
garbagecollector | ||
gitlfs | ||
herald | ||
panel | ||
protocol | ||
query | ||
remarkup | ||
request | ||
response | ||
ssh | ||
symbol | ||
typeahead | ||
view | ||
DiffusionLintSaveRunner.php |