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>2025-03-12 06:41:35 +0100
commit13aa382c3bb518d2b3e96f28f7f28cad4bd843fd (patch)
treeef82a83a38aa92646b352a6ad2f3846e9c2751bd /cgit.c
parentSilence owner-info error (diff)
downloadcgit-magenta-13aa382c3bb518d2b3e96f28f7f28cad4bd843fd.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 5a5e3c8..2e5ebc1 100644 --- a/cgit.c +++ b/cgit.c
@@ -973,12 +973,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 @@ -1060,7 +1054,6 @@ int cmd_main(int argc, const char **argv) const char *path; int err, ttl; - cgit_init_filters(); atexit(cgit_cleanup_filters); prepare_context();