From 03486eecc14da2df78d5fb97a8d2e94000b28671 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 19 Mar 2020 23:52:46 +0100
Subject: [PATCH] Only make publically visible repos that contain
 git-daemon-export-ok.

---
 buster/etc_files/website/etc/gitweb.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/buster/etc_files/website/etc/gitweb.conf b/buster/etc_files/website/etc/gitweb.conf
index c6d6f29..70bfa2d 100644
--- a/buster/etc_files/website/etc/gitweb.conf
+++ b/buster/etc_files/website/etc/gitweb.conf
@@ -1,6 +1,9 @@
 # path to git projects (<project>.git)
 $projectroot = "/var/repos";
 
+# don't show repos without git-daemon-export-ok file
+$export_ok = "git-daemon-export-ok";
+
 # directory to use for temp files
 # explicitely set by Debian so it's probably a good choice
 $git_temp = "/tmp";
-- 
2.30.2