<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit.git/cgit.h, branch main</title>
<subtitle>sl0p fork of cgit — readme-on-summary patch</subtitle>
<id>https://git.sl0p.foo/cgit.git/atom/cgit.h?h=main</id>
<link rel='self' href='https://git.sl0p.foo/cgit.git/atom/cgit.h?h=main'/>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/'/>
<updated>2026-07-11T20:19:08Z</updated>
<entry>
<title>ui-summary: optionally render the repo readme on the summary page</title>
<updated>2026-07-11T20:19:08Z</updated>
<author>
<name>Jason A. Dönerfield</name>
<email>no-replay@sl0p.foo</email>
</author>
<published>2026-07-11T20:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=f64bb3a19c276303f7502633ffa930a14aa883cc'/>
<id>urn:sha1:f64bb3a19c276303f7502633ffa930a14aa883cc</id>
<content type='text'>
Add enable-summary-readme (global + per-repo repo.enable-summary-readme,
default off). When enabled, the configured readme is rendered inline below the
repository info on the summary page, in addition to the standard about page.

Refactor the readme-rendering core out of cgit_print_repo_readme() into a
static print_readme() helper (no layout wrapper) so the about page and the
summary page share it.
</content>
</entry>
<entry>
<title>cgit: truncate all config values at the newline</title>
<updated>2026-05-04T16:28:27Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2026-05-04T16:13:13Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=ed05b1054df10a2fbc68000cfdd429daec03a456'/>
<id>urn:sha1:ed05b1054df10a2fbc68000cfdd429daec03a456</id>
<content type='text'>
These would be largely invalid anyway (save, I suppose, for Linux file
paths that technically can contain new lines).

The actual problem is that these get printed back out into cached -- and
trusted -- cgitrc files, and if the fields have newlines, the git-config
way of less trusted users configuring repos on a shared system can be
abused to inject newlines, which then can be used to smuggle global
options (including filters, which execute code) into the cached cgitrc.

So now, only ever duplicate up to the newline, when dealing with these
inputs.

Reported-by: Adrian Denkiewicz &lt;adrian@doyensec.com&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>cgit: devirtualize repo_config</title>
<updated>2026-05-04T16:28:27Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2026-05-04T15:50:43Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=5b4e73c203f5f4484d66f043f1e9114daefeb632'/>
<id>urn:sha1:5b4e73c203f5f4484d66f043f1e9114daefeb632</id>
<content type='text'>
There's no reason to pass around function pointers. It was never used
for anything beyond one function.

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>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.51.0</title>
<updated>2025-08-18T19:13:51Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2025-08-08T22:17:51Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=012870fad70f3eca82c5a25126c77edb3d2284ee'/>
<id>urn:sha1:012870fad70f3eca82c5a25126c77edb3d2284ee</id>
<content type='text'>
Update to git version v2.51.0, this requires changes for these
upstream commits:

* 8f49151763cb81adf4bcec53c1ae67057081b02d
  object-store: rename files to "odb.{c,h}"

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>fix building with clang</title>
<updated>2024-07-16T11:26:10Z</updated>
<author>
<name>Denis Pronin</name>
<email>dannftk@yandex.ru</email>
</author>
<published>2024-06-09T06:41:36Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=fb87de795b9f1b1e21825243716ff1156097adf2'/>
<id>urn:sha1:fb87de795b9f1b1e21825243716ff1156097adf2</id>
<content type='text'>
fix error that is given because of macro overlapping cgit_filter member:

../filter.c:388:10: error: no member named '__fprintf_chk' in
'struct cgit_filter'
  388 |         filter-&gt;fprintf(filter, f, prefix);
      |         ~~~~~~  ^
/usr/include/bits/stdio2.h:92:3: note: expanded from macro 'fprintf'
   92 |   __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
      |   ^
1 error generated.

Signed-off-by: Denis Pronin &lt;dannftk@yandex.ru&gt;
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.42.0</title>
<updated>2023-08-21T18:56:40Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2023-08-08T23:45:58Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/cgit.git/commit/?id=2f50b47c72cbc4270bbd12ae7f520486d5f42736'/>
<id>urn:sha1:2f50b47c72cbc4270bbd12ae7f520486d5f42736</id>
<content type='text'>
Update to git version v2.42.0, this requires changes for these
upstream commits:

* bc5c5ec0446895f5c4139cd470066beb3c4ac6d5
  cache.h: remove this no-longer-used header

* aba070683295a20bdf4f49146384984961c794b2
  path: move related function to path

* a4e7e317f8f27f861321e6eb08b9c8c0f3ab570c
  config: add ctx arg to config_fn_t

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>
</feed>
