Minor, avoid branch loop nonsense for repositories not set to autoclose. See IRC.
This commit is contained in:
@@ -418,6 +418,10 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO {
|
||||
}
|
||||
|
||||
public function shouldAutocloseBranch($branch) {
|
||||
if ($this->getDetail('disable-autoclose', false)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->isBranchInFilter($branch, 'close-commits-filter');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user