From 1df20d771c2790baddd67fbd4c11c1417bebc27e Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 5 Nov 2020 12:45:23 +0100 Subject: [PATCH] Initialize committers variable Prevented the check for variable collision detection from previous commit: first time the committers property was null. --- scripts/gitolite/rebuild_gitolite.php | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/gitolite/rebuild_gitolite.php b/scripts/gitolite/rebuild_gitolite.php index 80b6b5e7cc..9045b64d64 100755 --- a/scripts/gitolite/rebuild_gitolite.php +++ b/scripts/gitolite/rebuild_gitolite.php @@ -66,6 +66,7 @@ class Configuration { $this->config_file = "$gitolite_root/conf/gitolite.conf"; $this->collectSystemPublicKeys(); + $this->committers = array(); if (!file_exists($this->config_file)) { die("Not found: $this->config_file\n");