index
:
cgit
e1ad15d368 (detached)
main
Hyperfast and read-only web frontend for git repositories
Bryce Kwon
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
cmd.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'cmd.c')
-rw-r--r--
cmd.c
2
1 file changed, 1 insertion, 1 deletion
diff --git a/cmd.c b/cmd.c
index 63f0ae5..bf6d8f5 100644
--- a/
cmd.c
+++ b/
cmd.c
@@ -66,7 +66,7 @@ static void about_fn(void)
static void blame_fn(void)
{
- if (ctx.cfg.enable_blame)
+ if (ctx.repo->enable_blame)
cgit_print_blame();
else
cgit_print_error_page(403, "Forbidden", "Blame is disabled");