about summary refs log tree commit diff
path: root/cgit.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-20 13:33:37 -0500
committerRory& <root@rory.gay>2026-02-06 14:09:56 +0100
commit7f218cfae810965a3b094270d6df3b92c22d3fe0 (patch)
treebd3a14f18c6103e6f69194d8820d272210ac4511 /cgit.c
parentSilence owner-info error (diff)
downloadcgit-magenta-7f218cfae810965a3b094270d6df3b92c22d3fe0.tar.xz
Remove Lua support
Lua support is unused and the dlsym fwrite/write hacks horrify me.
Clean it up.
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/cgit.c b/cgit.c

index 413ac4c..ead540b 100644 --- a/cgit.c +++ b/cgit.c
@@ -972,12 +972,6 @@ static void cgit_parse_args(int argc, const char **argv) for (i = 1; i < argc; i++) { if (!strcmp(argv[i], "--version")) { printf("CGit %s | https://git.zx2c4.com/cgit/\n\nCompiled in features:\n", CGIT_VERSION); -#ifdef NO_LUA - printf("[-] "); -#else - printf("[+] "); -#endif - printf("Lua scripting\n"); #ifndef HAVE_LINUX_SENDFILE printf("[-] "); #else @@ -1059,7 +1053,6 @@ int cmd_main(int argc, const char **argv) const char *path; int err, ttl; - cgit_init_filters(); atexit(cgit_cleanup_filters); prepare_context();