diff options
author | Jeff Smith | 2017-10-01 23:39:08 -0500 |
---|---|---|
committer | John Keeping | 2017-10-03 19:19:34 +0100 |
commit | c1cd290d1f83d3d1c2d081d734e8d213f12cc06b (patch) | |
tree | ad5027076d139912140c45b6baec2d390389f7a1 /cgitrc.5.txt | |
parent | f6ffe40d1a2c985494e48dc2d36663ffde1e6044 (diff) | |
download | cgit-c1cd290d1f83d3d1c2d081d734e8d213f12cc06b.tar.gz cgit-c1cd290d1f83d3d1c2d081d734e8d213f12cc06b.tar.bz2 cgit-c1cd290d1f83d3d1c2d081d734e8d213f12cc06b.zip |
ui-blame: add blame UI
Implement a page which provides the blame view of a specified file.
This feature is controlled by a new config variable, "enable-blame",
which is disabled by default.
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r-- | cgitrc.5.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 9fcf445..4da166c 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -141,6 +141,11 @@ embedded:: | |||
141 | suitable for embedding in other html pages. Default value: none. See | 141 | suitable for embedding in other html pages. Default value: none. See |
142 | also: "noheader". | 142 | also: "noheader". |
143 | 143 | ||
144 | enable-blame:: | ||
145 | Flag which, when set to "1", will allow cgit to provide a "blame" page | ||
146 | for files, and will make it generate links to that page in appropriate | ||
147 | places. Default value: "0". | ||
148 | |||
144 | enable-commit-graph:: | 149 | enable-commit-graph:: |
145 | Flag which, when set to "1", will make cgit print an ASCII-art commit | 150 | Flag which, when set to "1", will make cgit print an ASCII-art commit |
146 | history graph to the left of the commit messages in the repository | 151 | history graph to the left of the commit messages in the repository |
@@ -799,6 +804,10 @@ enable-http-clone=1 | |||
799 | enable-index-links=1 | 804 | enable-index-links=1 |
800 | 805 | ||
801 | 806 | ||
807 | # Enable blame page and create links to it from tree page | ||
808 | enable-blame=1 | ||
809 | |||
810 | |||
802 | # Enable ASCII art commit history graph on the log pages | 811 | # Enable ASCII art commit history graph on the log pages |
803 | enable-commit-graph=1 | 812 | enable-commit-graph=1 |
804 | 813 | ||