1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00

Minor, avoid branch loop nonsense for repositories not set to autoclose. See IRC.

This commit is contained in:
epriestley 2012-06-19 15:05:03 -07:00
parent 606ca2831c
commit d277908842

View file

@ -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');
}