Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Warn that a repository listed twice shows twice
| -rw-r--r-- | MANUAL.txt | 4 | |
| -rw-r--r-- | custom/cgitrc | 2 |
2 files changed, 5 insertions, 1 deletion
@@ -774,7 +774,9 @@ repo.trailer-filter:: repo.url:: The relative url used to access the repository. This must be the first - setting specified for each repository. Default value: none. + setting specified for each repository. A repository both listed this way + and found by scan-path appears twice on the index, and when the two + share a url the one defined first answers it. Default value: none. Repository-specific cgitrc file diff --git a/custom/cgitrc b/custom/cgitrc index 8134955..dd47b94 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -427,6 +427,8 @@ age-file=info/web/last-modified # settings apply to that repository until the next repo.url line. When # repositories are discovered via scan-path the repo. prefix is dropped inside # each repository's cgitrc, and repo.url and repo.path are not allowed there. +# List a repository here or let scan-path find it, not both, or the index shows +# it twice. # Relative url for a repository. Must be the first setting of each repository # block. Value is a relative url path. Default is none. |
