<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-log.c, branch ch/log-commit-message</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-log.c?h=ch%2Flog-commit-message</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-log.c?h=ch%2Flog-commit-message'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2024-01-30T08:10:04Z</updated>
<entry>
<title>ui-log: show ellipsis if detailed commit message is available</title>
<updated>2024-01-30T08:10:04Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2022-12-16T17:37:10Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=09817382068ba1ad0118f7a4286755935b381e14'/>
<id>urn:sha1:09817382068ba1ad0118f7a4286755935b381e14</id>
<content type='text'>
The existence of a detailed commit message may be of interst even
if only the subject is shown by default.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>global: use release_commit_memory()</title>
<updated>2022-12-19T15:13:58Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2022-02-13T15:34:50Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=4c520cefc90b10566fcc8a0b006287494a7770e1'/>
<id>urn:sha1:4c520cefc90b10566fcc8a0b006287494a7770e1</id>
<content type='text'>
Instead of calling two separate Git functions to free memory associated
with a commit object, use Git's wrapper which does this.  This also
counts as a potential future bug fix since release_commit_memory() also
resets the parsed state of the commit, meaning any attempt to use it in
the future will correctly fill out the fields again.

release_commit_memory() does not set parents to zero, so keep that for
additional safety in case CGit checks this without calling
parse_commit() again.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>git: update to v2.36.0</title>
<updated>2022-04-18T20:15:36Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2022-04-04T19:00:33Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=bb02e24ec23d7f1893fc746c8199e88ab849cf86'/>
<id>urn:sha1:bb02e24ec23d7f1893fc746c8199e88ab849cf86</id>
<content type='text'>
Update to git version v2.36.0, this requires changes for these
upstream commits:

* 95433eeed9eac439eb21eb30105354b15e71302e
  diff: add ability to insert additional headers for paths

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.31.0</title>
<updated>2021-03-16T10:28:43Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2021-03-15T21:48:26Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d889cae811f27a052317ac5aea23890cba414760'/>
<id>urn:sha1:d889cae811f27a052317ac5aea23890cba414760</id>
<content type='text'>
Update to git version v2.31.0, this requires changes for these
upstream commits:

* 36a317929b8f0c67d77d54235f2d20751c576cbb
  refs: switch peel_ref() to peel_iterated_oid()

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>global: replace references to 'sha1' with 'oid'</title>
<updated>2020-10-20T21:57:12Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2020-10-20T21:32:45Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=779631c6dc23c15bbbf45a7c7ab9fffb619037b7'/>
<id>urn:sha1:779631c6dc23c15bbbf45a7c7ab9fffb619037b7</id>
<content type='text'>
For some time now sha1 is considered broken and upstream is working to
replace it with sha256. Replace all references to 'sha1' with 'oid',
just as upstream does.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.29.0</title>
<updated>2020-10-19T18:27:28Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2020-10-06T14:32:08Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=629659d2cffbf059374fc53e6400ff0bebe1ddde'/>
<id>urn:sha1:629659d2cffbf059374fc53e6400ff0bebe1ddde</id>
<content type='text'>
Update to git version v2.29.0, this requires changes for these
upstream commits:

* dbbcd44fb47347a3fdbee88ea21805b7f4ac0b98
  strvec: rename files from argv-array to strvec

* 873cd28a8b17ff21908c78c7929a7615f8c94992
  argv-array: rename to strvec

* d70a9eb611a9d242c1d26847d223b8677609305b
  strvec: rename struct fields

* 6a67c759489e1025665adf78326e9e0d0981bab5
  test-lib-functions: restrict test_must_fail usage

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>global: use proper accessors for maybe_tree</title>
<updated>2020-03-13T23:48:34Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-03-13T02:52:35Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=6a8d6d4b5021af6c90ca0da806691987df449469'/>
<id>urn:sha1:6a8d6d4b5021af6c90ca0da806691987df449469</id>
<content type='text'>
A previous commit changed -&gt;tree to -&gt;maybe_tree throughout, which may
have worked at the time, but wasn't safe, because maybe_tree is loaded
lazily. This manifested itself in crashes when using the "follow" log
feature. The proper fix is to use the correct contextual accessors
everytime we want access to maybe_tree. Thankfully, the commit.cocci
script takes care of creating mostly-correct patches that we could then
fix up, resulting in this commit here.

Fixes: 255b78f ("git: update to v2.18.0")
Reviewed-by: Christian Hesse &lt;mail@eworm.de&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>git: update to v2.21.0</title>
<updated>2019-06-05T13:37:49Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2019-02-24T20:19:46Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=985fba80d06f37fdba5e72d738ce21ab5ab5a76d'/>
<id>urn:sha1:985fba80d06f37fdba5e72d738ce21ab5ab5a76d</id>
<content type='text'>
Update to git version v2.21.0. Required changes follow upstream commits:

* 6a7895fd8a3bd409f2b71ffc355d5142172cc2a0
  (commit: prepare free_commit_buffer and release_commit_memory for
  any repo)

* e092073d643b17c82d72cf692fbfaea9c9796f11
  (tree.c: make read_tree*() take 'struct repository *')

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
Reviewed-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>global: make 'char *path' const where possible</title>
<updated>2019-06-05T13:37:49Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2019-01-02T16:25:01Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ccba7eb9d0c43ffe99178ab6632dc3794f887309'/>
<id>urn:sha1:ccba7eb9d0c43ffe99178ab6632dc3794f887309</id>
<content type='text'>
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>ui-log: ban strncpy()</title>
<updated>2018-09-11T06:47:12Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2018-08-28T16:16:11Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=7f75647b5565076b70d7c619df08e6c64dac9386'/>
<id>urn:sha1:7f75647b5565076b70d7c619df08e6c64dac9386</id>
<content type='text'>
Git upstream bans strncpy() with commit:

  banned.h: mark strncpy() as banned
  e488b7aba743d23b830d239dcc33d9ca0745a9ad

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
</feed>
