<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-log.c, branch ch/cgitrc</title>
<subtitle>🍴 My patches to cgit
</subtitle>
<id>https://git.ache.one/cgit/atom?h=ch%2Fcgitrc</id>
<link rel='self' href='https://git.ache.one/cgit/atom?h=ch%2Fcgitrc'/>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/'/>
<updated>2020-10-20T21:57:12Z</updated>
<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='https://git.ache.one/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='https://git.ache.one/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='https://git.ache.one/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='https://git.ache.one/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='https://git.ache.one/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='https://git.ache.one/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>
<entry>
<title>ui-log: ban strcpy()</title>
<updated>2018-09-11T06:47:12Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2018-08-28T16:08:33Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=71ba7187e5eeeaf2f66bc27bc3b48a2014d37bb7'/>
<id>urn:sha1:71ba7187e5eeeaf2f66bc27bc3b48a2014d37bb7</id>
<content type='text'>
Git upstream bans strcpy() with commit:

  automatically ban strcpy()
  c8af66ab8ad7cd78557f0f9f5ef6a52fd46ee6dd

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.18.0</title>
<updated>2018-06-27T16:13:03Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2018-06-04T16:49:28Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=255b78ff5291cef79978b025c9872f801de89e23'/>
<id>urn:sha1:255b78ff5291cef79978b025c9872f801de89e23</id>
<content type='text'>
Update to git version v2.18.0. Required changes follow upstream commits:

* Convert find_unique_abbrev* to struct object_id
  (aab9583f7b5ea5463eb3f653a0b4ecac7539dc94)
* sha1_file: convert read_sha1_file to struct object_id
  (b4f5aca40e6f77cbabcbf4ff003c3cf30a1830c8)
* sha1_file: convert sha1_object_info* to object_id
  (abef9020e3df87c441c9a3a95f592fce5fa49bb9)
* object-store: move packed_git and packed_git_mru to object store
  (a80d72db2a73174b3f22142eb2014b33696fd795)
* treewide: rename tree to maybe_tree
  (891435d55da80ca3654b19834481205be6bdfe33)

The changed data types required some of our own functions to be converted
to struct object_id:

  ls_item
  print_dir
  print_dir_entry
  print_object
  single_tree_cb
  walk_tree
  write_tree_link

And finally we use new upstream functions that were added for
struct object_id:

  hashcpy     -&gt; oidcpy
  sha1_to_hex -&gt; oid_to_hex

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
Reviewed-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-log: highlight annotated tags in different color</title>
<updated>2018-06-27T16:01:29Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2018-06-05T10:46:13Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=0bb34ef130f05b865ee2a34d196ea6352590f673'/>
<id>urn:sha1:0bb34ef130f05b865ee2a34d196ea6352590f673</id>
<content type='text'>
Annotated tags have some extra information... Descriptive text or signature.
Highlighting annotated tags in a different color show what tag may be worth
clicking for extra information.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
Reviewed-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>git: update to v2.16.0</title>
<updated>2018-01-19T10:34:43Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2018-01-18T08:19:31Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=1dd53e3a2ffec730ec27ebe15b3d63e0b417a544'/>
<id>urn:sha1:1dd53e3a2ffec730ec27ebe15b3d63e0b417a544</id>
<content type='text'>
Update to git version v2.16.0:

* refs: convert resolve_ref_unsafe to struct object_id
  (49e61479be913f67e66bb3fdf8de9475c41b58bd)
* diff: remove DIFF_OPT_SET macro
  (23dcf77f48feb49c54bad09210f093a799816334)
* log: add option to choose which refs to decorate
  (65516f586b69307f977cd67cc45513a296cabc25)
* diff: convert flags to be stored in bitfields
  (02f2f56bc377c287c411947d0e1482aac888f8db)

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