Do not recurse inside *.git directories

Julien LepillerMon Feb 21 14:50:06+0100 2022

aab4989

Do not recurse inside *.git directories

gitile/handler.scm

183183
               (readdir opened-dir)))
184184
            ((file-exists? (string-append dir "/" repo "/.git"))
185185
             (loop res (readdir opened-dir)))
186+
            ((string-suffix? ".git" repo)
187+
             (loop res (readdir opened-dir)))
186188
            ((and (stat (string-append dir "/" repo) #f)
187189
                  (equal? (stat:type (stat (string-append dir "/" repo) #f)) 'directory)
188190
                  (not (equal? repo ".git"))