| Age | Commit message (Collapse) | Author | Lines |
|
The diff family inflated a blob of any size just to render it. A file
over the limit is reported as binary instead.
|
|
A dangling or unreadable ref was described through a null object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Apple clang still defaults to -fcommon, so git's 64 KB packet_buffer
became a common symbol whose size drove a 32 KB section alignment that
ld64 then clamped to the 16 KB page size, warning on every macOS link.
Everywhere else already compiles with -fno-common.
|
|
The max-stats setting now only bounds the selectable periods and no
longer doubles as the enable switch.
The tree walk runs before the history walk on purpose. Releasing commit
memory while walking history resets each commit slab index, and a commit
graph lookup afterwards would read another commit slot and walk the
wrong tree. The stats fixture writes a commit graph so the tests cover
that path. The history walk bounds the window in process rather than
passing a formatted since date to setup_revisions, and parses each
commit once.
|
|
|
|
A checkout without tags made git describe fail and the empty result
overwrote the fallback, so CI release binaries carried no version at
all. The release workflow now also fetches tags so a tag build stamps
its exact version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AUTHORS now records the upstream developers as the project's history
rather than as maintainers of the fork.
|
|
cgit's built-in clone support speaks the dumb HTTP protocol, which
serves static files that only git update-server-info refreshes. Without
this hook a clone can miss refs pushed after the repository was created.
|
|
The wiring has real pitfalls around PATH_INFO and the link base, so
these ship as working commented configs. nginx needs the fcgiwrap
bridge while apache and lighttpd run the CGI directly. The security
headers live here rather than in cgit because they must also cover
the static assets the server serves itself.
|
|
|
|
The filters signed the request url and later wrote it into a Location
header, and the signing step re-encoded a newline that the verifying
step decoded back, so a crafted url could smuggle CR and LF into the
response. The cookie HMAC was also checked with a short-circuiting
comparison, and the cookie carried no SameSite attribute.
|
|
The Gentoo LDAP filter is distro specific, the owner example only
restates what cgit already renders, and the about converters are
superseded by the built-in markdown rendering. The two auth filters do
the same job and differ only in where their accounts live, so they
become auth-inline for accounts kept in the script and auth-file for
accounts kept on disk.
|
|
Lua is becoming the one language for the filter extensions, and this is
the last shell filter the fork keeps.
|
|
|
|
Clone urls and atom links are built from the request scheme and Host,
but the cache key left them out, so a request with a spoofed Host
could cache a page carrying a bogus clone url and serve it to other
visitors.
|
|
The stat-only diff path returned before the closing call, so the
content wrapper, footer and closing tags were never emitted.
|
|
The feed-level element was written only inside the commit loop, so a
feed with no commits omitted an element the atom format requires.
|
|
The diffstat divided by zero when a commit changed no lines, and a
submodule change was printed with a hardcoded length that dropped a
digit of a sha-1 and most of a sha-256.
|
|
The pager html-escaped its search and sort values instead of
url-encoding them, so a term with a hash or ampersand broke the link
and dropped the active filter on the next page.
|
|
The POST length was clamped with a signed comparison, so a very large
Content-Length could turn negative and slip past the limit into the
fixed-size buffer.
|
|
The idle-sort comparator returned a 64-bit time difference truncated
to int, which could flip sign and leave the ordering inconsistent.
|
|
The index derived a repository's age from refs/heads/master alone, so a
repository on any other default branch showed no age. HEAD is
repo-controlled and the age stat walks under refs/heads, so a branch
name carrying a parent-directory component is rejected.
|
|
The default sorted the sections and the repositories within them by
name, so the order written in the cgitrc file was ignored.
|