Do not recurse inside *.git directories
gitile/handler.scm
183 | 183 | (readdir opened-dir))) | |
184 | 184 | ((file-exists? (string-append dir "/" repo "/.git")) | |
185 | 185 | (loop res (readdir opened-dir))) | |
186 | + | ((string-suffix? ".git" repo) | |
187 | + | (loop res (readdir opened-dir))) | |
186 | 188 | ((and (stat (string-append dir "/" repo) #f) | |
187 | 189 | (equal? (stat:type (stat (string-append dir "/" repo) #f)) 'directory) | |
188 | 190 | (not (equal? repo ".git")) |