From 2c02e4c8763fcb4c2aeb7c889c85c28e236254b4 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Tue, 27 Feb 2024 05:37:30 +0000 Subject: cgit disable git blame, because it is buggy --- etc/cgitrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/cgitrc b/etc/cgitrc index a1b78047..10a2e3c0 100644 --- a/etc/cgitrc +++ b/etc/cgitrc @@ -4,7 +4,11 @@ cache-size=1000 enable-index-owner=0 -enable-blame=1 +# blame buggy, when use with cache enabled maybe shown half blank page when file is large. +# It can be tested with https://git.flylightning.xyz/dwm_fly/blame/dwm.c and +# https://git.flylightning.xyz/config_local_arch/blame/etc/services +# Also studio is not powerful, `git blame ...` on studio is slow +#enable-blame=1 mimetype-file=/etc/mime.types # https://stackoverflow.com/questions/16182421/cgit-and-nginx-url-rewrite virtual-root=/ -- cgit v1.2.3-70-g09d2