<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-tag.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>ui-diff,ui-tag: don't use htmlf with non-formatted strings</title>
<updated>2019-02-22T23:09:17Z</updated>
<author>
<name>Chris Mayo</name>
<email>aklhfex@gmail.com</email>
</author>
<published>2019-02-21T19:57:23Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=bd0293f57015ede637b630fcaf4fc11e7697d777'/>
<id>urn:sha1:bd0293f57015ede637b630fcaf4fc11e7697d777</id>
<content type='text'>
Signed-off-by: Chris Mayo &lt;aklhfex@gmail.com&gt;
</content>
</entry>
<entry>
<title>git: update to v2.19.1</title>
<updated>2018-10-12T21:06:02Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2018-08-28T16:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=2c9f56f3e1c754f60ccffbc6c745b9d5a81ea005'/>
<id>urn:sha1:2c9f56f3e1c754f60ccffbc6c745b9d5a81ea005</id>
<content type='text'>
Update to git version v2.19.1. Required changes follow upstream commits:

* commit: add repository argument to get_cached_commit_buffer
  (3ce85f7e5a41116145179f0fae2ce6d86558d099)

* commit: add repository argument to lookup_commit_reference
  (2122f6754c93be8f02bfb5704ed96c88fc9837a8)

* object: add repository argument to parse_object
  (109cd76dd3467bd05f8d2145b857006649741d5c)

* tag: add repository argument to deref_tag
  (a74093da5ed601a09fa158e5ba6f6f14c1142a3e)

* tag: add repository argument to lookup_tag
  (ce71efb713f97f476a2d2ab541a0c73f684a5db3)

* tree: add repository argument to lookup_tree
  (f86bcc7b2ce6cad68ba1a48a528e380c6126705e)

* archive.c: avoid access to the_index
  (b612ee202a48f129f81f8f6a5af6cf71d1a9caef)

* for_each_*_object: move declarations to object-store.h
  (0889aae1cd18c1804ba01c1a4229e516dfb9fe9b)

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>ui-shared: pass separator in to cgit_print_snapshot_links()</title>
<updated>2018-06-27T16:11:19Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2018-03-31T14:08:59Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=e491eaa5df3055dc419d9d3cb75421e8a8c43944'/>
<id>urn:sha1:e491eaa5df3055dc419d9d3cb75421e8a8c43944</id>
<content type='text'>
cgit_print_snapshot_links() is almost identical to
print_tag_downloads(), so let's extract the difference to a parameter in
preparation for removing print_tag_downloads() in the next commit.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Reviewed-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>ui-shared: remove unused parameter</title>
<updated>2018-06-27T16:11:19Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2018-03-31T14:02:21Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=63da41a915157d27dcf26e4811bd6b5f8a3abb2b'/>
<id>urn:sha1:63da41a915157d27dcf26e4811bd6b5f8a3abb2b</id>
<content type='text'>
The "head" parameter to cgit_print_snapshot_links() is never used, so
remove it.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Reviewed-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>ui-shared: pass repo object to print_snapshot_links()</title>
<updated>2018-06-27T16:11:19Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2018-03-31T13:05:02Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=bd1b281478c8d8ab45f723ac5818d58da4a64dd1'/>
<id>urn:sha1:bd1b281478c8d8ab45f723ac5818d58da4a64dd1</id>
<content type='text'>
Both call sites of cgit_print_snapshot_links() use the same values for
the snapshot mask and repository name, which are derived from the
cgit_repo structure so let's pass in the structure and access the fields
directly.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Reviewed-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>ui-tag: Fix inconsistent capitalization</title>
<updated>2018-06-16T16:42:32Z</updated>
<author>
<name>Jon DeVree</name>
<email>nuxi@vault24.org</email>
</author>
<published>2018-06-10T22:28:49Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=26610aff34b8dbbfa296bb7a9785c39831cfe7e3'/>
<id>urn:sha1:26610aff34b8dbbfa296bb7a9785c39831cfe7e3</id>
<content type='text'>
Way back in 2009 all of these were lower cased except this one
occurrence.

Signed-off-by: Jon DeVree &lt;nuxi@vault24.org&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>git: update to v2.14</title>
<updated>2017-08-10T13:58:24Z</updated>
<author>
<name>Jeff Smith</name>
<email>whydoubt@gmail.com</email>
</author>
<published>2017-08-10T00:02:56Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=86a6d358f7a6c2432fde86b9e3c5011a656f20e4'/>
<id>urn:sha1:86a6d358f7a6c2432fde86b9e3c5011a656f20e4</id>
<content type='text'>
Numerous changes were made to git functions to use an object_id
structure rather than sending sha1 hashes as raw unsigned character
arrays.  The functions that affect cgit are: parse_object,
lookup_commit_reference, lookup_tag, lookup_tree, parse_tree_indirect,
diff_root_tree_sha1, diff_tree_sha1, and format_display_notes.

Commit b2141fc (config: don't include config.h by default) made it
necessary to that config.h be explicitly included when needed.

Commit 07a3d41 (grep: remove regflags from the public grep_opt API)
removed one way of specifying the ignore-case grep option.

Signed-off-by: Jeff Smith &lt;whydoubt@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-tag: replace 'unsigned char sha1[20]' with 'struct object_id oid'</title>
<updated>2016-10-04T07:47:18Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-29T20:14:28Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=28185ae40a82d3304ace805c9a44e933270bd581'/>
<id>urn:sha1:28185ae40a82d3304ace805c9a44e933270bd581</id>
<content type='text'>
Upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id
oid'. We have some code that can be changed independent from upstream. So
here we go...
</content>
</entry>
<entry>
<title>ui-tag: clean up taginfo</title>
<updated>2016-10-01T10:46:55Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:53:24Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=f80b73fa20d5c884114b971a20e1b4bb847e054e'/>
<id>urn:sha1:f80b73fa20d5c884114b971a20e1b4bb847e054e</id>
<content type='text'>
Free the taginfo when we're done with it.  Also reduce the scope of a
couple of variables so that it's clear that this is the only path that
uses the taginfo structure.

Coverity-Id: 141883
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
</feed>
