diff options
author | June McEnroe | 2021-01-20 13:33:37 -0500 |
---|---|---|
committer | June McEnroe | 2022-02-13 18:24:04 -0500 |
commit | d993e4be6731b1a806e2c7588334a3f485a5fd31 (patch) | |
tree | 3d6276d4a791560a48d9481c31b9e7eba9fcc2a6 /cgit.c | |
parent | Merge remote-tracking branch 'ch/git-2-35' (diff) | |
download | cgit-d993e4be6731b1a806e2c7588334a3f485a5fd31.tar.gz cgit-d993e4be6731b1a806e2c7588334a3f485a5fd31.zip |
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.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cgit.c b/cgit.c index 40a266b..f3fe4c7 100644 --- a/cgit.c +++ b/cgit.c | |||
@@ -964,12 +964,6 @@ static void cgit_parse_args(int argc, const char **argv) | |||
964 | for (i = 1; i < argc; i++) { | 964 | for (i = 1; i < argc; i++) { |
965 | if (!strcmp(argv[i], "--version")) { | 965 | if (!strcmp(argv[i], "--version")) { |
966 | printf("CGit %s | https://git.zx2c4.com/cgit/\n\nCompiled in features:\n", CGIT_VERSION); | 966 | printf("CGit %s | https://git.zx2c4.com/cgit/\n\nCompiled in features:\n", CGIT_VERSION); |
967 | #ifdef NO_LUA | ||
968 | printf("[-] "); | ||
969 | #else | ||
970 | printf("[+] "); | ||
971 | #endif | ||
972 | printf("Lua scripting\n"); | ||
973 | #ifndef HAVE_LINUX_SENDFILE | 967 | #ifndef HAVE_LINUX_SENDFILE |
974 | printf("[-] "); | 968 | printf("[-] "); |
975 | #else | 969 | #else |
@@ -1051,7 +1045,6 @@ int cmd_main(int argc, const char **argv) | |||
1051 | const char *path; | 1045 | const char *path; |
1052 | int err, ttl; | 1046 | int err, ttl; |
1053 | 1047 | ||
1054 | cgit_init_filters(); | ||
1055 | atexit(cgit_cleanup_filters); | 1048 | atexit(cgit_cleanup_filters); |
1056 | 1049 | ||
1057 | prepare_context(); | 1050 | prepare_context(); |