Commit be2c4b36 authored by Daniel Stone's avatar Daniel Stone Committed by Ana Rute Mendes
Browse files

LOCAL/UI: Diffusion: Set default autoclose to 'master'

Encode policy, allowing patches to land on feature branches without
closing tasks.
parent 3d2aa478
......@@ -90,6 +90,11 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO
// parsing it.
$repository->setDetail('importing', true);
// There doesn't seem to be a good way to set the default for a detail
// without adding a specialized getter. Ho hum.
$autoclose = array_fuse(array('master'));
$repository->setDetail('close-commits-filter', $autoclose);
return $repository;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment