Made rebuild_gitadmin only take git repositories into account
This commit is contained in:
@@ -151,8 +151,11 @@ function rebuildConfiguration($gitosis_root) {
|
||||
->execute();
|
||||
|
||||
foreach ($repositories as $repository_id => $repository) {
|
||||
handleSingleRepository(
|
||||
$keydir, $viewer, $repository, $new_configuration, $used_keys);
|
||||
$type = $repository->getVersionControlSystem();
|
||||
if ($type == PhabricatorRepositoryType::REPOSITORY_TYPE_GIT) {
|
||||
handleSingleRepository(
|
||||
$keydir, $viewer, $repository, $new_configuration, $used_keys);
|
||||
}
|
||||
}
|
||||
|
||||
write_ini_file($new_configuration, $configuration_file);
|
||||
|
||||
Reference in New Issue
Block a user