<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-tree.c, branch ch/default-pages</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-tree.c?h=ch%2Fdefault-pages</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-tree.c?h=ch%2Fdefault-pages'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2022-12-19T14:22:52Z</updated>
<entry>
<title>ui-tree: show symlink targets in tree listing</title>
<updated>2022-12-19T14:22:52Z</updated>
<author>
<name>June McEnroe</name>
<email>june@causal.agency</email>
</author>
<published>2019-12-19T21:55:05Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=bcffc523669e00abd949778d4defce37532a3855'/>
<id>urn:sha1:bcffc523669e00abd949778d4defce37532a3855</id>
<content type='text'>
Add links to symbolic link targets in tree listings, formatted like
"ls -l".  Path normalization collapses any ".." components of the link.

Also fix up memory link on error path.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>ui-tree,ui-blame: bail from blame if blob is binary</title>
<updated>2022-12-19T14:14:05Z</updated>
<author>
<name>June McEnroe</name>
<email>june@causal.agency</email>
</author>
<published>2019-12-18T21:30:12Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=cc6d9cc7fc010db9be6c2d90fd054fb2d189d629'/>
<id>urn:sha1:cc6d9cc7fc010db9be6c2d90fd054fb2d189d629</id>
<content type='text'>
This avoids piping binary blobs through the source-filter. Also prevent
robots from crawling it, since it's expensive.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>git: update to v2.32.0</title>
<updated>2021-06-08T10:37:46Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2021-05-18T20:49:13Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=5258c297ba6fb604ae1415fbc19a3fe42457e49e'/>
<id>urn:sha1:5258c297ba6fb604ae1415fbc19a3fe42457e49e</id>
<content type='text'>
Update to git version v2.32.0, this requires changes for these
upstream commits:

* 47957485b3b731a7860e0554d2bd12c0dce1c75a
  tree.h API: simplify read_tree_recursive() signature

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>ui-tree: allow per repository override for enable-blame</title>
<updated>2019-06-25T19:40:59Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2019-02-26T16:08:31Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e1ad15d368bdeb1bffea588b93a29055c5dfb7f4'/>
<id>urn:sha1:e1ad15d368bdeb1bffea588b93a29055c5dfb7f4</id>
<content type='text'>
The blame operation can cause high cost in terms of CPU load for huge
repositories. Let's add a per repository override for enable-blame.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&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>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='http://git.cetero.st/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>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='http://git.cetero.st/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-tree: free read_sha1_file() buffer after use</title>
<updated>2018-06-16T14:20:11Z</updated>
<author>
<name>Andy Green</name>
<email>andy@warmcat.com</email>
</author>
<published>2018-06-13T02:02:00Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=7708859c4dcebff1e43516c23a8bf80f88fcea35'/>
<id>urn:sha1:7708859c4dcebff1e43516c23a8bf80f88fcea35</id>
<content type='text'>
Free up the buffer allocated in read_sha1_file()

Signed-off-by: Andy Green &lt;andy@warmcat.com&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
</feed>
