<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests, branch ethomson/objectformat</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>tests: helpers for getting ints from configuration</title>
<updated>2022-12-03T20:37:15+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-12-03T14:33:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=1a8c692751e2a0a56b6ede70bf8eb2c34f488b39'/>
<id>1a8c692751e2a0a56b6ede70bf8eb2c34f488b39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>repo: don't overwrite repo format version on reinit</title>
<updated>2022-12-03T20:37:15+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-12-03T14:32:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=3b676c8d889ec4554fc0b66362a6a37a5e04e529'/>
<id>3b676c8d889ec4554fc0b66362a6a37a5e04e529</id>
<content type='text'>
Ensure that we maintain the `core.repositoryFormatVersion` value instead
of always overwriting it with the default.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that we maintain the `core.repositoryFormatVersion` value instead
of always overwriting it with the default.
</pre>
</div>
</content>
</entry>
<entry>
<title>repo: understand the `objectformat` extension</title>
<updated>2022-12-03T20:37:15+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-09-19T14:39:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=975d210c5466cd9781fa8b61aad10d47a6d6a988'/>
<id>975d210c5466cd9781fa8b61aad10d47a6d6a988</id>
<content type='text'>
Teach the repository about the `objectformat` extension, supporting
`sha1` always and `sha256` when the experimental sha256 support is
active.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Teach the repository about the `objectformat` extension, supporting
`sha1` always and `sha256` when the experimental sha256 support is
active.
</pre>
</div>
</content>
</entry>
<entry>
<title>oid: provide type lookups by enum value or name</title>
<updated>2022-12-03T20:37:15+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-12-03T13:14:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=2259790d4071eef2e6278ad876bab72b61558296'/>
<id>2259790d4071eef2e6278ad876bab72b61558296</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add new test to submodule::update</title>
<updated>2022-11-25T16:32:39+00:00</updated>
<author>
<name>tagesuhu</name>
<email>118989859+tagesuhu@users.noreply.github.com</email>
</author>
<published>2022-11-25T16:32:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=b57b7628d4a7c66727252a9e2d219e566b04a867'/>
<id>b57b7628d4a7c66727252a9e2d219e566b04a867</id>
<content type='text'>
Verify that trying to update submodule which has been configured but not added does return an error.

Issue #6433: git_submodule_update fails to update configured but missing submodule</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Verify that trying to update submodule which has been configured but not added does return an error.

Issue #6433: git_submodule_update fails to update configured but missing submodule</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6326 from libgit2/ethomson/url_parse</title>
<updated>2022-11-23T13:57:07+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-11-23T13:57:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=12832bab7363e92bfa45d1ef3c3bc10495d71abd'/>
<id>12832bab7363e92bfa45d1ef3c3bc10495d71abd</id>
<content type='text'>
URL parsing for google-compatible URLs</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
URL parsing for google-compatible URLs</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for "safe.directory *"</title>
<updated>2022-11-19T11:00:43+00:00</updated>
<author>
<name>Sven Strickroth</name>
<email>email@cs-ware.de</email>
</author>
<published>2022-11-19T10:56:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=594bd70b84247eb5fb4b04defb362496b8c85a2b'/>
<id>594bd70b84247eb5fb4b04defb362496b8c85a2b</id>
<content type='text'>
Signed-off-by: Sven Strickroth &lt;email@cs-ware.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Sven Strickroth &lt;email@cs-ware.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6408 from kcsaul/fix-safe-directory-not-found</title>
<updated>2022-11-18T13:54:49+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-11-18T13:54:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ad2d3a06963ebfd13a04deb619e839b1346a4353'/>
<id>ad2d3a06963ebfd13a04deb619e839b1346a4353</id>
<content type='text'>
Ignore missing 'safe.directory' config during ownership checks</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ignore missing 'safe.directory' config during ownership checks</pre>
</div>
</content>
</entry>
<entry>
<title>commit-graph: only verify csum on git_commit_graph_open().</title>
<updated>2022-11-03T16:09:18+00:00</updated>
<author>
<name>Colin Stolley</name>
<email>ccstolley@github.com</email>
</author>
<published>2022-06-16T21:50:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=2c4eb83ee14bca44c2442727bacd82312cbedfc5'/>
<id>2c4eb83ee14bca44c2442727bacd82312cbedfc5</id>
<content type='text'>
It is expensive to compute the sha1 of the entire commit-graph file each
time we open it. Git only does this if it is re-writing the file.

This patch will only verify the checksum when calling the external API
git_commit_graph_open(), which explicitly says it opens and verifies
the commit graph in the documentation.

For internal library calls, we call git_commit_graph_get_file(), which
mmaps the commit-graph file in read-only mode. Therefore it is safe to
skip the validation check there.

Tests were added to check that the validation works in the happy path,
and prevents us from opening the file when validation fails.

(Note from Derrick Stolee: This patch was applied internally at GitHub
after we recognized the performance impact it had during an upgrade of
libgit2. The original author left the company before we remembered to
send it upstream.)

Signed-off-by: Derrick Stolee &lt;derrickstolee@github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is expensive to compute the sha1 of the entire commit-graph file each
time we open it. Git only does this if it is re-writing the file.

This patch will only verify the checksum when calling the external API
git_commit_graph_open(), which explicitly says it opens and verifies
the commit graph in the documentation.

For internal library calls, we call git_commit_graph_get_file(), which
mmaps the commit-graph file in read-only mode. Therefore it is safe to
skip the validation check there.

Tests were added to check that the validation works in the happy path,
and prevents us from opening the file when validation fails.

(Note from Derrick Stolee: This patch was applied internally at GitHub
after we recognized the performance impact it had during an upgrade of
libgit2. The original author left the company before we remembered to
send it upstream.)

Signed-off-by: Derrick Stolee &lt;derrickstolee@github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>repo: test ownership validation fails with expected error</title>
<updated>2022-10-01T03:36:38+00:00</updated>
<author>
<name>Kevin Saul</name>
<email>kevinsaul@gmail.com</email>
</author>
<published>2022-10-01T03:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=dd21e20ce20d31c62bf454c681f4a45b671ab35a'/>
<id>dd21e20ce20d31c62bf454c681f4a45b671ab35a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
