Diff options
authorLars Hjemli <hjemli@gmail.com>
committerLars Hjemli <hjemli@gmail.com>
commit
parent
tree
download
Introduce struct cgit_context
This struct will hold all the cgit runtime information currently found in a multitude of global variables. The first cleanup removes all querystring-related variables. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r--cache.c4
-rw-r--r--cgit.c72
-rw-r--r--cgit.h35
-rw-r--r--parsing.c8
-rw-r--r--shared.c43
-rw-r--r--ui-commit.c14
-rw-r--r--ui-diff.c6
-rw-r--r--ui-log.c20
-rw-r--r--ui-patch.c2
-rw-r--r--ui-refs.c4
-rw-r--r--ui-shared.c86
-rw-r--r--ui-summary.c6
-rw-r--r--ui-tree.c20
13 files changed, 156 insertions, 164 deletions