<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit.git/ui-shared.c, branch main</title>
<subtitle>sl0p fork of cgit — readme-on-summary patch</subtitle>
<id>https://git.sl0p.foo/cgit.git/atom/ui-shared.c?h=main</id>
<link rel='self' href='https://git.sl0p.foo/cgit.git/atom/ui-shared.c?h=main'/>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/'/>
<updated>2026-07-18T19:31:00Z</updated>
<entry>
<title>ui-shared: signal the sl0p fork in the footer + generator meta</title>
<updated>2026-07-18T19:31:00Z</updated>
<author>
<name>Jason A. Dönerfield</name>
<email>no-replay@sl0p.foo</email>
</author>
<published>2026-07-18T19:16:06Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=017c14bff28cbf9823a3bd9c63f8d283d64a9c51'/>
<id>urn:sha1:017c14bff28cbf9823a3bd9c63f8d283d64a9c51</id>
<content type='text'>
Append a "sl0p fork" link (to git.sl0p.foo/cgit.git) to the default
footer after the generated-by cgit/git attribution, and tag the
&lt;meta name=generator&gt; as "cgit &lt;ver&gt; (sl0p fork)". Keeps upstream
attribution intact.
</content>
</entry>
<entry>
<title>cgit: override die routine globally</title>
<updated>2026-03-10T21:19:00Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2026-03-10T20:26:55Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=0d8e5fbc31e1082063bfb5155c35b7869721152b'/>
<id>urn:sha1:0d8e5fbc31e1082063bfb5155c35b7869721152b</id>
<content type='text'>
We don't get any return value from compile_grep_patterns calling
compile_regexp_failed, causing the default die routine to print to
stderr and then for cgit to exit ungracefully.

Instead override the default die routine to show a normal error page.

Perhaps compile_grep_patterns ought to change upstream to return an
error. But this commit here will handle future issues as well, so
perhaps not a bad idea to do anyway.

Link: https://lists.zx2c4.com/pipermail/cgit/2026-March/004982.html
Link: https://lists.zx2c4.com/pipermail/cgit/2026-March/004983.html
Reported-by: Adrian C. &lt;anrxc@sysphere.org&gt;
Reported-by: Aiden Woodruff &lt;aiden@aidenw.net&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>ui-log: allow link following to be disabled per-repo</title>
<updated>2026-02-24T10:49:35Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2026-02-24T10:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=0d28d54f0a287ee3e5a12d14ffd2ee23b5e22d76'/>
<id>urn:sha1:0d28d54f0a287ee3e5a12d14ffd2ee23b5e22d76</id>
<content type='text'>
This exists for other CPU heavy operations like blame, but doesn't for
the follow functionality. Add it for that.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>ui-shared: don't write &lt;link&gt; if favicon unset</title>
<updated>2026-02-23T23:39:05Z</updated>
<author>
<name>Christian Barcenas</name>
<email>christian@cbarcenas.com</email>
</author>
<published>2025-08-21T19:46:33Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=11a6c92def985710eca79733f136b471d474b053'/>
<id>urn:sha1:11a6c92def985710eca79733f136b471d474b053</id>
<content type='text'>
Since the favicon setting defaults to "/favicon.ico", the user can
only unset it with favicon=. However, that would write an empty string
as the config value. Previously, such empty string always satisfied
the if condition. In this case it is better to omit the &lt;link&gt; entirely.

Signed-off-by: Christian Barcenas &lt;christian@cbarcenas.com&gt;
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.53.0</title>
<updated>2026-02-02T19:44:31Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2026-01-19T10:46:27Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=d9da9cec9640668f82b2f367fade18eb27b28616'/>
<id>urn:sha1:d9da9cec9640668f82b2f367fade18eb27b28616</id>
<content type='text'>
Update to git version v2.53.0, this requires changes for these
upstream commits:

* bdbebe5714b25dc9d215b48efbb80f410925d7dd
  refs: introduce wrapper struct for `each_ref_fn`

* 589127caa73090040200989ff4d24c3d54f473f2
  packfile: move list of packs into the packfile store

* 5a5c7359f77ecd1bc4b0e172563161d602f131d3
  refs: drop `current_ref_iter` hack

* b6e4cc8c32850315323961659e553d1d14591f7f
  tag: support arbitrary repositories in parse_tag()

* 84f0e60b28de69d1ccb7a51b729af6202b6cf4c8
  packfile: move packfile store into object source

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.47.0</title>
<updated>2024-10-07T15:34:42Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2024-09-26T17:41:29Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=c1733e28d91bea5647e11fe099751fbc839669d7'/>
<id>urn:sha1:c1733e28d91bea5647e11fe099751fbc839669d7</id>
<content type='text'>
Update to git version v2.47.0, this requires changes for these
upstream commits:

* e8207717f1623325fe1c95338fb03c1104ed5687
  refs: add referent to each_ref_fn

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.46.0</title>
<updated>2024-08-02T16:22:56Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2024-07-16T07:45:13Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=09d24d7cd0b7e85633f2f43808b12871bb209d69'/>
<id>urn:sha1:09d24d7cd0b7e85633f2f43808b12871bb209d69</id>
<content type='text'>
Update to git version v2.46.0, this requires changes for these
upstream commits:

* e7da9385708accf518a80a1e17969020fb361048
  global: introduce `USE_THE_REPOSITORY_VARIABLE` macro

* 9da95bda74cf10e1475384a71fd20914c3b99784
  hash: require hash algorithm in `oidread()` and `oidclr()`

* 30aaff437fddd889ba429b50b96ea4c151c502c5
  refs: pass repo when peeling objects

* c8f815c2083c4b340d4148a15d45c55f2fcc7d3f
  refs: remove functions without ref store

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.45.0</title>
<updated>2024-04-29T19:13:53Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2024-04-19T20:39:20Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=dbadd856ba0537110338cfe58256b152d01388c0'/>
<id>urn:sha1:dbadd856ba0537110338cfe58256b152d01388c0</id>
<content type='text'>
Update to git version v2.45.0, this requires changes for these
upstream commits:

* 9720d23e8caf4adee44b3a32803a9bb0480118bd
  date: make DATE_MODE thread-safe

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.41.0</title>
<updated>2023-06-01T10:00:43Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2023-05-16T15:02:27Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=a6da40bf84527cbe77d1ec504e1fefb982b9a52a'/>
<id>urn:sha1:a6da40bf84527cbe77d1ec504e1fefb982b9a52a</id>
<content type='text'>
Update to git version v2.41.0, with lots of changes...
This requires changes for these upstream commits:

* 60ff56f50372c1498718938ef504e744fe011ffb
  banned.h: mark `strtok()` and `strtok_r()` as banned

* 52acddf36c8cb3778ab2098a0d95cc2e375a4069
  string-list: multi-delimiter `string_list_split_in_place()`

* d850b7a545fcfbd97460a921c7f7c59d933eb0f7
  cocci: apply the "cache.h" part of "the_repository.pending"

* cb338c23d6d518947bf6f7240bf30e2ec232bd3b
  cocci: apply the "commit-reach.h" part of "the_repository.pending"

* ecb5091fd4301ac647db0bd2504112b38f7ee06d
  cocci: apply the "commit.h" part of "the_repository.pending"

* 085390328f5fe1dfba67039b1fd6cc51546a4e41
  cocci: apply the "diff.h" part of "the_repository.pending"

* bc726bd075929aab6b3e09d4dd5c2b0726fd5350
  cocci: apply the "object-store.h" part of "the_repository.pending"

* bab821646a74c446370fa8d01ca851f247df5033
  cocci: apply the "pretty.h" part of "the_repository.pending"

* afe27c889429438829bc8818ed17e4960bd3ef02
  cocci: apply the "packfile.h" part of "the_repository.pending"

* 12cb1c10a64170a5d600dd1c6c8abfeec105fb6b
  cocci: apply the "refs.h" part of "the_repository.pending"

* 035c7de9e9ea11d26df5f9e4bb117f91ed11a9fd
  cocci: apply the "revision.h" part of "the_repository.pending"

... and some more I missed to list 😜 - for example the move and cleanup
of headers and includes (see changes in `cgit.h`) comes to mind...

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>config: make empty js= omit script tag</title>
<updated>2023-01-10T16:52:54Z</updated>
<author>
<name>Samuel Lidén Borell</name>
<email>samuel@kodafritt.se</email>
</author>
<published>2023-01-07T09:32:07Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=00ecfaadea2c40cc62b7a43e246384329e6ddb98'/>
<id>urn:sha1:00ecfaadea2c40cc62b7a43e246384329e6ddb98</id>
<content type='text'>
According to the cgitrc man page, an empty js= value should cause the
script tag to be omitted. But instead, a script tag with an empty URL
is emitted. The same applies to css. So, skip emitting a tag if the
specified string is empty.

Signed-off-by: Samuel Lidén Borell &lt;samuel@kodafritt.se&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
