summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-02-27 05:37:30 +0000
committerXiao Pan <gky44px1999@gmail.com>2024-02-27 05:37:30 +0000
commit2c02e4c8763fcb4c2aeb7c889c85c28e236254b4 (patch)
treef0f6bef5fc8f19dba5885b0595503a6f7fc70914 /etc
parent333b4f1c9d02cdc6a86cf3908ac1d5deaeedab8a (diff)
cgit disable git blame, because it is buggy
Diffstat (limited to 'etc')
-rw-r--r--etc/cgitrc6
1 files changed, 5 insertions, 1 deletions
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=/