AgeCommit message (Collapse)AuthorLines
Name the pages the highlighter runs onBryce Kwon-1/+1
Point the source-filter sample at its notesBryce Kwon-3/+2
Correct what a negative section-from-path dropsBryce Kwon-2/+3
section_slash counts the repository's own directory as the first element back from the end, so "-1" takes nothing above it away.
Name module-link.<path> among the guarded keysBryce Kwon-5/+5
Write five compound terms one way in the docsBryce Kwon-12/+12
Each takes the form its option name or most of the prose already uses, as in case-sensitive-sort and side-by-side-diffs.
Spell HTML in capitals as most of the docs doBryce Kwon-5/+5
The head section loses its capitals too, since HEAD elsewhere in the manual is git's.
Spell url the way the tree mostly doesBryce Kwon-22/+22
Names keep their own spelling, so the URL trailer and CGIT_REPO_URL stay in capitals.
Keep the repository title in one static bufferBryce Kwon-2/+6
Free the revision walks' arguments and stateBryce Kwon-6/+13
Spell non-zero the way the rest of the tree doesBryce Kwon-1/+1
Drop a query value check that cannot fireBryce Kwon-3/+0
Check a ref path without copying itBryce Kwon-10/+4
Share one lock-file helper between the cachesBryce Kwon-64/+83
Keep the script name local to prepare_contextBryce Kwon-5/+1
Print line number anchors through one helperBryce Kwon-39/+31
Print the commit and tag dates through one helperBryce Kwon-10/+21
Print each person through one helperBryce Kwon-44/+30
The log, refs and tag pages no longer open a filter of their own, so they stop including filter.h.
Refuse pathspec magic through one helperBryce Kwon-21/+19
Start each history walk through one helperBryce Kwon-18/+20
Order shared.c the way shared.h declares itBryce Kwon-147/+144
The header's blob and pathspec checks move after the diff wrappers so each group reads as one, and each static helper now sits directly above its only user.
Free commit and tag records beside their parsersBryce Kwon-34/+30
With the frees gone from shared.h, five page files need nothing else from it, so they stop including it.
Keep the cache's trailing slash helper in cache.cBryce Kwon-10/+12
Move cgit.c's own helpers out of shared.cBryce Kwon-86/+78
Move the mimetype lookup into ui-plain.cBryce Kwon-52/+50
Move the ref list code into ui-refs.cBryce Kwon-88/+85
Move the die wrappers into filter.cBryce Kwon-34/+30
Ask for every path below the about page in one testBryce Kwon-22/+12
All of them stop at the same early return in about_fn, so each now gets the status, the html error page and a clean log.
Name the missing home without searching for oneBryce Kwon-10/+1
strace logs a call that names the path whether or not it succeeds, so a home that existed would still be caught, and cgit unsets HOME before git runs anyway.
Work out each gitlink's target onceBryce Kwon-11/+2
Test bodies run in the main shell, so the target named in the fixture reaches every check that greps for it.
Serve both readme escaping checks from one configBryce Kwon-16/+9
Ask each page that sorts odd branches in one loopBryce Kwon-23/+8
Write the test filter scripts with write_scriptBryce Kwon-9/+3
Derive the API test's config from the loud oneBryce Kwon-6/+1
Check the filter flush on the pages already fetchedBryce Kwon-16/+7
The about check already finds the div right before the filtered text, so its copy went, and the tree page is flattened where it was first read.
Cut test comments that repeat what is said nearbyBryce Kwon-13/+4
Correct two test comments that went staleBryce Kwon-3/+3
Drop test lines that add nothingBryce Kwon-4/+0
The trash directory starts empty and setup.sh already made the cache, the clamp check already fails on a short query, and the commit the setup named is still there to pin.
Leave two log checks to the log testsBryce Kwon-12/+0
t0103 already renders foo/log and finds commit 5, and its search for a bracket fails the same way this literal search did if --fixed-strings ever goes.
Leave the blob size refusals to the limits testsBryce Kwon-22/+5
t0204 asks the tree, plain, blob and blame pages for one oversized blob and checks the exact status and message, so the looser copy here went.
Drop the hidden form fields' unused page argumentBryce Kwon-6/+6
Leave the log's history simplification to gitBryce Kwon-1/+0
Spell the version banner cgitBryce Kwon-1/+1
Build a literal pathspec in one placeBryce Kwon-62/+35
Git's pathspec item holds a const string now, so a path needs no writable copy to be matched.
Look up a request's commit in one placeBryce Kwon-88/+66
The diff page now names a revision that is no commit the way the request wrote it, as the other pages already did, rather than as the full id it resolved to. The helpers sit beside the error page in ui-shared.c, since shared.c prints nothing.
Count the log's columns in ui-log.c aloneBryce Kwon-22/+21
Spell the signature suffix once for both filesBryce Kwon-4/+5
Drop ui-blob's constant file_only argumentsBryce Kwon-13/+13
Keep a commit's encoding local to its parserBryce Kwon-11/+11
Keep the query string parser beside its one callerBryce Kwon-19/+17
Drop cgit_read_first_line's unread size outputBryce Kwon-9/+5