<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/reftable, branch gitk-resize-error</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=gitk-resize-error</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=gitk-resize-error'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2022-01-13T21:39:09Z</updated>
<entry>
<title>reftable tests: avoid "int" overflow, use "uint64_t"</title>
<updated>2022-01-13T21:39:09Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2022-01-11T16:40:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=22d2f70e85e767abba2e284e32c0edb7f749e29c'/>
<id>urn:sha1:22d2f70e85e767abba2e284e32c0edb7f749e29c</id>
<content type='text'>
Change code added in 1ae2b8cda84 (reftable: add merged table view,
2021-10-07) to consistently use the "uint64_t" type. These "min" and
"max" variables get passed in the body of this function to a function
whose prototype is:

    [...] reftable_writer_set_limits([...], uint64_t min, uint64_t max

This avoids the following warning on SunCC 12.5 on
gcc211.fsffrance.org:

    "reftable/merged_test.c", line 27: warning: initializer does not fit or is out of range: 0xffffffff

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reftable: avoid initializing structs from structs</title>
<updated>2022-01-13T21:36:34Z</updated>
<author>
<name>Han-Wen Nienhuys</name>
<email>hanwen@google.com</email>
</author>
<published>2022-01-13T16:55:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=f2b255141b3008a46b4946e7da44b966797e4355'/>
<id>urn:sha1:f2b255141b3008a46b4946e7da44b966797e4355</id>
<content type='text'>
Apparently, the IBM xlc compiler doesn't like this.

Signed-off-by: Han-Wen Nienhuys &lt;hanwen@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reftable: support preset file mode for writing</title>
<updated>2021-12-23T20:28:36Z</updated>
<author>
<name>Han-Wen Nienhuys</name>
<email>hanwen@google.com</email>
</author>
<published>2021-12-23T19:29:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=cd1799dea097cee064db1d09966fee88078476e9'/>
<id>urn:sha1:cd1799dea097cee064db1d09966fee88078476e9</id>
<content type='text'>
Create files with mode 0666, so umask works as intended. Provides an override,
which is useful to support shared repos (test t1301-shared-repo.sh).

Signed-off-by: Han-Wen Nienhuys &lt;hanwen@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reftable: signal overflow</title>
<updated>2021-12-23T20:28:34Z</updated>
<author>
<name>Han-Wen Nienhuys</name>
<email>hanwen@google.com</email>
</author>
<published>2021-12-23T19:29:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=0dd44584abf3fee0ba19b5edf856be2a79974228'/>
<id>urn:sha1:0dd44584abf3fee0ba19b5edf856be2a79974228</id>
<content type='text'>
reflog entries have unbounded size. In theory, each log ('g') block in reftable
can have an arbitrary size, so the format allows for arbitrarily sized reflog
messages. However, in the implementation, we are not scaling the log blocks up
with the message, and writing a large message fails.

This triggers a failure for reftable in t7006-pager.sh.

Until this is fixed more structurally, report an error from within the reftable
library for easier debugging.

Signed-off-by: Han-Wen Nienhuys &lt;hanwen@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reftable: fix typo in header</title>
<updated>2021-12-23T20:28:28Z</updated>
<author>
<name>Han-Wen Nienhuys</name>
<email>hanwen@google.com</email>
</author>
<published>2021-12-23T19:29:48Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=019bd340820463b2ce2c006c45b6c87fefdd551c'/>
<id>urn:sha1:019bd340820463b2ce2c006c45b6c87fefdd551c</id>
<content type='text'>
Signed-off-by: Han-Wen Nienhuys &lt;hanwen@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reftable: add dump utility</title>
<updated>2021-10-08T17:45:48Z</updated>
<author>
<name>Han-Wen Nienhuys</name>
<email>hanwen@google.com</email>
</author>
<published>2021-10-07T20:25:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e7931683645f65e8e483bdc3dabbf94ddf799cd7'/>
<id>urn:sha1:e7931683645f65e8e483bdc3dabbf94ddf799cd7</id>
<content type='text'>
provide a command-line utility for inspecting individual tables, and
inspecting a complete ref database

Signed-off-by: Han-Wen Nienhuys &lt;hanwen@google.com&gt;
Helped-by: Carlo Marcelo Arenas Belón &lt;carenas@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reftable: implement stack, a mutable database of reftable files.</title>
<updated>2021-10-08T17:45:48Z</updated>
<author>
<name>Han-Wen Nienhuys</name>
<email>hanwen@google.com</email>
</author>
<published>2021-10-07T20:25:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e48d427268f965bf381a2f4fa445b5ade7913880'/>
<id>urn:sha1:e48d427268f965bf381a2f4fa445b5ade7913880</id>
<content type='text'>
Signed-off-by: Han-Wen Nienhuys &lt;hanwen@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reftable: implement refname validation</title>
<updated>2021-10-08T17:45:48Z</updated>
<author>
<name>Han-Wen Nienhuys</name>
<email>hanwen@google.com</email>
</author>
<published>2021-10-07T20:25:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=acb533440fc0ed32e195987b9946e948a9706560'/>
<id>urn:sha1:acb533440fc0ed32e195987b9946e948a9706560</id>
<content type='text'>
The packed/loose format has restrictions on refnames: a and a/b cannot
coexist. This limitation does not apply to reftable per se, but must be
maintained for interoperability. This code adds validation routines to
abort transactions that are trying to add invalid names.

Signed-off-by: Han-Wen Nienhuys &lt;hanwen@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reftable: add merged table view</title>
<updated>2021-10-08T17:45:48Z</updated>
<author>
<name>Han-Wen Nienhuys</name>
<email>hanwen@google.com</email>
</author>
<published>2021-10-07T20:25:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=1ae2b8cda84c4c662d8f60898e034d9643f097b6'/>
<id>urn:sha1:1ae2b8cda84c4c662d8f60898e034d9643f097b6</id>
<content type='text'>
This adds an abstract, read-only interface to the ref database.

This primitive is used to construct the read view of the ref database
(the read view is constructed by merging several *.ref files). It also
provides the mechanism to provide a unified view of the refs in the main
repository and the per-worktree refs.

Signed-off-by: Han-Wen Nienhuys &lt;hanwen@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reftable: add a heap-based priority queue for reftable records</title>
<updated>2021-10-08T17:45:48Z</updated>
<author>
<name>Han-Wen Nienhuys</name>
<email>hanwen@google.com</email>
</author>
<published>2021-10-07T20:25:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=3b34f636df9e6c32c2e9b819cd5ad907497c62b7'/>
<id>urn:sha1:3b34f636df9e6c32c2e9b819cd5ad907497c62b7</id>
<content type='text'>
This is needed to create a merged view multiple reftables

Signed-off-by: Han-Wen Nienhuys &lt;hanwen@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
