about summary refs log tree commit diff
path: root/third_party/cgit/filter.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-05-19 r/4094 subtree(3p/cgit): merge cgit-pink into depot cgitsterni1-237/+2
cgit-pink is a maintained fork of cgit that follows upstream git more closely and already contains a lot of patches we already had applied. Consequently, it seems sensible it becomes our future upstream, we may even be able to upstream some of our custom, less invasive patches. Change-Id: Ia081e4508866f32298986c7160f4890c8a7c8922
2020-06-03 r/878 fix(3p/cgit): Fix compilation under ClangLuke Granger-Brown1-1/+1
Clang treats function-like macros "correctly", in that, per the C11 spec: "Each subsequent instance of the function-like macro name followed by a ( [...] is replaced by the replacement list [...]". Additionally, fprintf is also permitted to be defined as a function-like macro rather than as a true function: "Any function declared in a header may be additionally implemented as a function-like macro defined in the header [...]". The specification then suggests surrounding the name of the function in parens to avoid this, which is the technique we use here to avoid the function-like macro being invoked. The other fix here is to use uintptr_t for some arithmetic, since Git is expecting an int as the value here and not a pointer.
2020-01-11 r/371 merge(third_party/cgit): Import at master of 2020-01-11Vincent Ambo1-0/+457
Imported commit '723dc8fbcb1a4609c264758eae420ee2811a2b55' as 'third_party/cgit'.