AgeCommit message (Collapse)AuthorLines
Allocate the filters zeroed with xcallocBryce Kwon-7/+2
Drop the exec filter's close steps that do nothingBryce Kwon-7/+1
A filter is only closed after an open has forked it, so its pid is a child's, and every open writes its arguments into argv afresh.
Format the cache listing's times where it printsBryce Kwon-17/+6
Close the cache's descriptors through one helperBryce Kwon-33/+15
Drop the cache's checks for arguments never NULLBryce Kwon-14/+0
The cache root always holds a default or a copy, the key comes from a strbuf, and every string hashed is the same or a macro expansion.
Let scan_tree choose the project list itselfBryce Kwon-15/+8
Three callers wrote out the same choice, and the header already says a scan visits only the listed paths when a project list is set.
Drop the command line switches the query coversBryce Kwon-11/+0
--repo= only stored the name, so it never selected a repository, and --query= already reaches what the other four set, with the offset clamped the way a request's is.
Pick a filter's backend with skip_prefixBryce Kwon-32/+14
A two entry table and a prefix measured by hand did what two prefix tests do. A drive letter and an unknown prefix are read as before.
Write the cache's errors with fprintf like the restBryce Kwon-25/+10
Drop the defaults the memset already setsBryce Kwon-17/+0
prepare_context zeroes the whole context first, and the repository list is a global, so neither needs its zeros written out again.
Copy the encoding and subject with xmemdupzBryce Kwon-18/+2
substr was xmemdupz with a branch for an end before the start, and both callers find the end by searching forward from the start.
Mark the static pages in the command tableBryce Kwon-38/+16
The table already records what each page needs, and a second list of page names in cgit.c had to be kept in step with it by hand.
Drop the thunks that only forward to a rendererBryce Kwon-40/+10
Set the virtual root from SCRIPT_NAME up frontBryce Kwon-7/+5
The script name always holds a value, so the fallback after parsing fired whenever cgitrc left virtual-root unset. The root is now set with the other defaults, for cgitrc to replace. A die while cgitrc is read is the one change, and its page now links the root with the trailing slash every other page has. The environment's copy of the script name only fed this.
Open the empty page's clone table on its first urlBryce Kwon-9/+41
The page guessed from the two settings cgit_add_clone_urls reads, so a clone-url that expanded to nothing, or an empty one turning the global off, still drew a Clone heading over no rows. The summary already waits for a first url, and both now draw the heading the same way.
Name the right cap in the ref listings' commentBryce Kwon-1/+1
Return nothing from the ref row printersBryce Kwon-7/+4
Drop ref date checks that cannot fireBryce Kwon-3/+1
A ref whose object git cannot parse never joins the list, and a commit's info is allocated even when its buffer cannot be read.
Drop tag page checks that cannot fireBryce Kwon-11/+7
parse_object only hands back a tag it has parsed, and an ident is split into a name and an address together or not at all, so a tagger always has an address, if only <>.
Write the feed's own url onceBryce Kwon-2/+2
Let cgit_pageurl join a feed entry's commit idBryce Kwon-10/+2
Drop rev settings the feed's walk never readsBryce Kwon-4/+0
Strip a snapshot name's suffixes onceBryce Kwon-31/+21
Stop copying a snapshot's type and nameBryce Kwon-4/+4
Return nothing from the snapshot sendersBryce Kwon-11/+9
Describe each snapshot format as data in the tableBryce Kwon-82/+45
Return a repository's age rather than a found flagBryce Kwon-41/+14
Refuse a dumb object request without a gotoBryce Kwon-6/+4
Name a listed pack with git's own pack_basenameBryce Kwon-14/+1
Pick a blob's mimetype the way the plain page doesBryce Kwon-4/+1
Test a plain page entry's level onceBryce Kwon-4/+5
Stop terminating blobs git already terminatesBryce Kwon-4/+2
Drop a comment restating git's read_tree contractBryce Kwon-8/+0
Open the tree's code cell in one placeBryce Kwon-6/+3
Stop copying strings the tree page only readsBryce Kwon-15/+7
List the root of the tree through the shared walkBryce Kwon-22/+4
A root tree that cannot be read now lists empty rather than answering 404, the way a folder below it already does.
Tidy up after a directory chain however it endsBryce Kwon-1/+29
A row whose first entry is itself a directory leaked that entry's name. A level git could not read as a tree returned early instead, which also left the row's log, stats and plain links on the deeper path.
Tidy comments on the history pagesBryce Kwon-17/+14
Keep the side by side limits in ui-ssdiff.cBryce Kwon-13/+8
Write both halves of a side by side row one wayBryce Kwon-32/+25
Print every deferred run through one loopBryce Kwon-36/+5
Hand the side by side view its file pairBryce Kwon-50/+32
Drop two resets of statics still at zeroBryce Kwon-2/+0
Grow the diff's file list with ALLOC_GROWBryce Kwon-11/+7
Escape a unified diff line by its lengthBryce Kwon-9/+1
Abbreviate the index ids into local buffersBryce Kwon-14/+3
Name the diff prototype parameters as definedBryce Kwon-1/+1
Find blame's next tab stop the way ssdiff doesBryce Kwon-2/+3
The mask only worked while TAB_WIDTH stayed a power of two.
Emit both blame side columns with one loopBryce Kwon-18/+6
Set the blame scoreboard's path onceBryce Kwon-1/+0