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>
Este commit está contenido en:
Jeff Smith
2017-10-01 23:39:08 -05:00
cometido por John Keeping
padre f6ffe40d1a
commit c1cd290d1f
Se han modificado 8 ficheros con 265 adiciones y 1 borrados

1
cgit.h
Ver fichero

@@ -228,6 +228,7 @@ struct cgit_config {
int enable_http_clone;
int enable_index_links;
int enable_index_owner;
int enable_blame;
int enable_commit_graph;
int enable_log_filecount;
int enable_log_linecount;