klaussilveira / gitlist

An elegant and modern git repository viewer
https://gitlist.org/
BSD 3-Clause "New" or "Revised" License
2.92k stars 520 forks source link

Search for repository in subdirectories #915

Open gsnw opened 2 years ago

gsnw commented 2 years ago

I have set the following in config.yaml.

default_repository_dir: /var/www
repository_depth: '3'

Below /var/www/ there are no git repositories but a subfolder mirror which contains e.g. gitlist.git as clone. Unfortunately the repository is not recognized by Gitlist, only if I put it directly below /var/www and set repository_depth: '0'.

Am I doing something wrong or is this not how it works?

yangbo02 commented 2 years ago

Seeing similar issue. It seems only repo at repository_depth would be recognized.