<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-tree.c, branch v1.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-tree.c?h=v1.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-tree.c?h=v1.2'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2018-06-27T16:13:03Z</updated>
<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>
<entry>
<title>ui-tree: link to blame UI if enabled</title>
<updated>2017-10-03T18:19:34Z</updated>
<author>
<name>Jeff Smith</name>
<email>whydoubt@gmail.com</email>
</author>
<published>2017-10-02T04:39:09Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=1649afdc9b2febe9ab7e1abe1956c5dcaff93aa1'/>
<id>urn:sha1:1649afdc9b2febe9ab7e1abe1956c5dcaff93aa1</id>
<content type='text'>
Create links to the blame page.

Signed-off-by: Jeff Smith &lt;whydoubt@gmail.com&gt;
Reviewed-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-tree: move set_title_from_path to ui-shared</title>
<updated>2017-10-03T18:19:34Z</updated>
<author>
<name>Jeff Smith</name>
<email>whydoubt@gmail.com</email>
</author>
<published>2017-10-02T04:39:06Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=9337c7ee83221d48d02c3c7b5c9dcbaca23ad92f'/>
<id>urn:sha1:9337c7ee83221d48d02c3c7b5c9dcbaca23ad92f</id>
<content type='text'>
The ui-blame code will also need to call set_title_from_path, so go
ahead and move it to ui-shared.

Signed-off-by: Jeff Smith &lt;whydoubt@gmail.com&gt;
Reviewed-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='http://git.cetero.st/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-tree: 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:17:07Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=9dd3c5e93c5af3d35efe6e9f844456eb0f27a819'/>
<id>urn:sha1:9dd3c5e93c5af3d35efe6e9f844456eb0f27a819</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-tree: remove a fixed size buffer</title>
<updated>2016-10-01T10:46:55Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:54:46Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e18a85b6a298feef88da8085ef16fd20ce971071'/>
<id>urn:sha1:e18a85b6a298feef88da8085ef16fd20ce971071</id>
<content type='text'>
As libgit.a moves away from using fixed size buffers, there is no
guarantee that PATH_MAX is sufficient for all of the paths in a Git
tree, so we should use a dynamically sized buffer here.

Coverity-Id: 141884
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>tree: allow skipping through single-child trees</title>
<updated>2016-10-01T10:45:17Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-07-13T19:19:42Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=000cf294c4d3f3a72b31d8bd0186ac989f596890'/>
<id>urn:sha1:000cf294c4d3f3a72b31d8bd0186ac989f596890</id>
<content type='text'>
If we have only a single element in a directory (for example in Java
package paths), display multiple directories in one go so that it is
possible to navigate directly to the first directory that contains
either files or multiple directories.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-tree: put reverse path in title</title>
<updated>2016-01-18T15:13:29Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-01-18T14:56:45Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=23f7dadaaba2817c92c42c0a642a3186aa8ef24d'/>
<id>urn:sha1:23f7dadaaba2817c92c42c0a642a3186aa8ef24d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>git: update to v2.7.0</title>
<updated>2016-01-13T16:12:17Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-01-05T06:38:53Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=559ab5ecc4445c8477ecf62c9fc97efa412dd562'/>
<id>urn:sha1:559ab5ecc4445c8477ecf62c9fc97efa412dd562</id>
<content type='text'>
Update to git version v2.7.0.

* Upstream commit ed1c9977cb1b63e4270ad8bdf967a2d02580aa08 (Remove
  get_object_hash.) changed API:

  Convert all instances of get_object_hash to use an appropriate
  reference to the hash member of the oid member of struct object.
  This provides no functional change, as it is essentially a macro
  substitution.

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