AgeCommit message (Collapse)AuthorLines
Indent continuation lines with one tabBryce Kwon-3/+3
Keep string literals behind const pointersBryce Kwon-4/+4
Git's DEVELOPER=1 build turns on -Wwrite-strings as an error, and the literals stored through plain char pointers failed cgit's own objects there. The exec filter's argv takes the cast execvp needs once, the way git's run-command does.
End a request quietly when the client has goneBryce Kwon-0/+6
A write that failed with EPIPE on an uncached page died into an error page, which died again at exit when the page could not be sent either, and git logged a recursion warning on every dropped connection. A filter that exits early fails a write the same way, so the quiet exit is kept for writes that reach the client itself.
Harden the request path, scan and error recoveryBryce Kwon-1/+9
Split trailers out of the commit messageBryce Kwon-1/+1
Restyle the sources and fix the audit's findingsBryce Kwon-0/+54