diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-21T23·36+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-21T23·36+0000 |
commit | 9ad47965387c63e287afac86c498566e37265248 (patch) | |
tree | f263eb41f0e403a271983ae7067f05251e8b3c4a /web/cgit-taz/thttpd_cgi_idx.patch | |
parent | 03acae2f85a1cda6057ab17549941c2ce16464ed (diff) |
feat(cgit-taz): Add patches for subtree about/ handling r/289
1. Generate links to subtree about pages. 2. Render README files in subtrees, too.
Diffstat (limited to 'web/cgit-taz/thttpd_cgi_idx.patch')
-rw-r--r-- | web/cgit-taz/thttpd_cgi_idx.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/web/cgit-taz/thttpd_cgi_idx.patch b/web/cgit-taz/thttpd_cgi_idx.patch new file mode 100644 index 000000000000..67dbc0c7ab80 --- /dev/null +++ b/web/cgit-taz/thttpd_cgi_idx.patch @@ -0,0 +1,13 @@ +diff --git a/config.h b/config.h +index 65ab1e3..cde470f 100644 +--- a/config.h ++++ b/config.h +@@ -327,7 +327,7 @@ + /* CONFIGURE: A list of index filenames to check. The files are searched + ** for in this order. + */ +-#define INDEX_NAMES "index.html", "index.htm", "index.xhtml", "index.xht", "Default.htm", "index.cgi" ++#define INDEX_NAMES "cgit.cgi" + + /* CONFIGURE: If this is defined then thttpd will automatically generate + ** index pages for directories that don't have an explicit index file. |