aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorChristian Hesse2022-01-10 10:15:33 +0100
committerYigit Sever2023-07-21 03:03:50 +0300
commitea9f614e02559f0166c9e74441f3edf4fe897fe2 (patch)
tree549755f36eb6fee66c40c6a9b5f66adeee820056 /cgitrc.5.txt
parent9701f8e61129865cad35483eb4b6271ba048d0ad (diff)
downloadcgit-ea9f614e02559f0166c9e74441f3edf4fe897fe2.tar.gz
cgit-ea9f614e02559f0166c9e74441f3edf4fe897fe2.tar.bz2
cgit-ea9f614e02559f0166c9e74441f3edf4fe897fe2.zip
about: allow to give head from query
Reading the README from repository used to be limited to default branch or a branch given in configuration. Let's allow a branch from query if not specified explicitly. Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 33a6a8c..d9eb3b0 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -579,11 +579,11 @@ repo.readme::
579 verbatim as the "About" page for this repo. You may also specify a 579 verbatim as the "About" page for this repo. You may also specify a
580 git refspec by head or by hash by prepending the refspec followed by 580 git refspec by head or by hash by prepending the refspec followed by
581 a colon. For example, "master:docs/readme.mkd". If the value begins 581 a colon. For example, "master:docs/readme.mkd". If the value begins
582 with a colon, i.e. ":docs/readme.rst", the default branch of the 582 with a colon, i.e. ":docs/readme.rst", the head giving in query or
583 repository will be used. Sharing any file will expose that entire 583 the default branch of the repository will be used. Sharing any file
584 directory tree to the "/about/PATH" endpoints, so be sure that there 584 will expose that entire directory tree to the "/about/PATH" endpoints,
585 are no non-public files located in the same directory as the readme 585 so be sure that there are no non-public files located in the same
586 file. Default value: <readme>. 586 directory as the readme file. Default value: <readme>.
587 587
588repo.section:: 588repo.section::
589 Override the current section name for this repository. Default value: 589 Override the current section name for this repository. Default value: