Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Trim the comments and dead code across the tree
-rw-r--r--MANUAL.txt4
-rw-r--r--Makefile21
-rw-r--r--assets/cgit.css127
-rw-r--r--assets/cgit.js51
-rw-r--r--custom/cgitrc102
-rw-r--r--custom/extensions/about-render.lua91
-rw-r--r--custom/extensions/auth-file.lua73
-rw-r--r--custom/extensions/auth-inline.lua66
-rw-r--r--custom/extensions/email-gravatar.lua22
-rw-r--r--custom/extensions/email-libravatar.lua19
-rw-r--r--custom/extensions/link-commits.lua53
-rw-r--r--custom/extensions/syntax-highlight.lua67
-rwxr-xr-xcustom/hooks/post-receive.cgit-cache7
-rw-r--r--source/cache.c38
-rw-r--r--source/cgit.c91
-rw-r--r--source/cgit.h3
-rw-r--r--source/cgit.mk28
-rw-r--r--source/config.c18
-rw-r--r--source/filter.c53
-rw-r--r--source/html.c22
-rw-r--r--source/html.h4
-rw-r--r--source/parsing.c11
-rw-r--r--source/parsing.h4
-rw-r--r--source/scan-tree.c11
-rw-r--r--source/shared.c24
-rw-r--r--source/ui-atom.c21
-rw-r--r--source/ui-blame.c11
-rw-r--r--source/ui-blob.c5
-rw-r--r--source/ui-clone.c1
-rw-r--r--source/ui-diff.c33
-rw-r--r--source/ui-log.c18
-rw-r--r--source/ui-patch.c8
-rw-r--r--source/ui-plain.c36
-rw-r--r--source/ui-repolist.c5
-rw-r--r--source/ui-shared.c36
-rw-r--r--source/ui-snapshot.c2
-rw-r--r--source/ui-snapshot.h5
-rw-r--r--source/ui-ssdiff.c19
-rw-r--r--source/ui-stats.c8
-rw-r--r--source/ui-stats.h1
-rw-r--r--source/ui-summary.c13
-rw-r--r--source/ui-tree.c15
-rw-r--r--tests/extensions/harness.lua8
-rw-r--r--tests/extensions/lib.sh5
-rw-r--r--tests/filters/dump.lua5
-rwxr-xr-xtests/setup.sh29
-rwxr-xr-xtests/t0001-git-version.sh8
-rwxr-xr-xtests/t0002-html-validity.sh10
-rwxr-xr-xtests/t0003-cache.sh10
-rwxr-xr-xtests/t0004-docs.sh4
-rwxr-xr-xtests/t0101-index.sh10
-rwxr-xr-xtests/t0102-summary.sh10
-rwxr-xr-xtests/t0103-log.sh8
-rwxr-xr-xtests/t0104-tree.sh10
-rwxr-xr-xtests/t0105-plain.sh10
-rwxr-xr-xtests/t0106-commit.sh8
-rwxr-xr-xtests/t0107-diff.sh11
-rwxr-xr-xtests/t0108-rawdiff.sh8
-rwxr-xr-xtests/t0109-patch.sh49
-rwxr-xr-xtests/t0110-snapshot.sh13
-rwxr-xr-xtests/t0111-atom.sh9
-rwxr-xr-xtests/t0201-filters.sh11
-rwxr-xr-xtests/t0202-submodule-links.sh10
-rwxr-xr-xtests/t0204-limits.sh14
-rwxr-xr-xtests/t0301-security.sh6
-rwxr-xr-xtests/t0502-syntax-highlight.sh16
-rwxr-xr-xtests/t0505-auth.sh15
-rwxr-xr-xtools/release-build.sh27
-rwxr-xr-xtools/serve.py23
69 files changed, 652 insertions, 942 deletions