summaryrefslogtreecommitdiffabout
path: root/scan-tree.c
Side-by-side diff
Diffstat (limited to 'scan-tree.c') (more/less context) (show whitespace changes)
-rw-r--r--scan-tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scan-tree.c b/scan-tree.c
index e987824..780d405 100644
--- a/scan-tree.c
+++ b/scan-tree.c
@@ -112,2 +112,3 @@ static void add_repo(const char *base, const char *path, repo_config_fn fn)
+ if (!repo->readme) {
p = fmt("%s/README.html", path);
@@ -115,2 +116,3 @@ static void add_repo(const char *base, const char *path, repo_config_fn fn)
repo->readme = "README.html";
+ }