<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/include/git2, branch main</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/'/>
<entry>
<title>worktree: document that is_prunable sets error messages</title>
<updated>2023-05-16T11:40:16+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-05-16T11:40:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=12b54ae00948a7a8422af53a8e98a5aa4d51f1f7'/>
<id>12b54ae00948a7a8422af53a8e98a5aa4d51f1f7</id>
<content type='text'>
When a worktree is not prunable, an error message will be set with
information about why. Document that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a worktree is not prunable, an error message will be set with
information about why. Document that.
</pre>
</div>
</content>
</entry>
<entry>
<title>streams: sockets are non-blocking and can timeout</title>
<updated>2023-05-13T15:42:04+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-05-12T19:48:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=fad90428970e332153027773b517a1606c0efa1f'/>
<id>fad90428970e332153027773b517a1606c0efa1f</id>
<content type='text'>
Make socket I/O non-blocking and add optional timeouts.

Users may now set `GIT_OPT_SET_SERVER_CONNECT_TIMEOUT` to set a shorter
connection timeout. (The connect timeout cannot be longer than the
operating system default.) Users may also now configure the socket read
and write timeouts with `GIT_OPT_SET_SERVER_TIMEOUT`.

By default, connects still timeout based on the operating system
defaults (typically 75 seconds) and socket read and writes block.

Add a test against our custom testing git server that ensures that we
can timeout reads against a slow server.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make socket I/O non-blocking and add optional timeouts.

Users may now set `GIT_OPT_SET_SERVER_CONNECT_TIMEOUT` to set a shorter
connection timeout. (The connect timeout cannot be longer than the
operating system default.) Users may also now configure the socket read
and write timeouts with `GIT_OPT_SET_SERVER_TIMEOUT`.

By default, connects still timeout based on the operating system
defaults (typically 75 seconds) and socket read and writes block.

Add a test against our custom testing git server that ensures that we
can timeout reads against a slow server.
</pre>
</div>
</content>
</entry>
<entry>
<title>oid: don't assume thread local state was initialized</title>
<updated>2023-05-13T13:09:25+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-12-08T19:28:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=4f76ef568d74c63031eb42fc10bf08b5641e5f0b'/>
<id>4f76ef568d74c63031eb42fc10bf08b5641e5f0b</id>
<content type='text'>
git_oid_tostr_s could fail if thread-local state initialization fails.
In that case, it will now return `NULL`.  Callers should check for
`NULL` and propagate the failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git_oid_tostr_s could fail if thread-local state initialization fails.
In that case, it will now return `NULL`.  Callers should check for
`NULL` and propagate the failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6557 from libgit2/ethomson/shallow</title>
<updated>2023-05-09T19:38:04+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-05-09T19:38:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=2bbcdee6b666f34e83d1cf9ca9badc66258202d6'/>
<id>2bbcdee6b666f34e83d1cf9ca9badc66258202d6</id>
<content type='text'>
Shallow (#6396) with some fixes from review</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Shallow (#6396) with some fixes from review</pre>
</div>
</content>
</entry>
<entry>
<title>fetch: remove `unshallow` option</title>
<updated>2023-05-09T16:14:08+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-05-08T09:17:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=437c5f5a0b6ae6068168081ac6422dba44cff31d'/>
<id>437c5f5a0b6ae6068168081ac6422dba44cff31d</id>
<content type='text'>
The `depth` field is suitable to specify unshallowing; provide an enum
to aide in specifying the `unshallow` value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `depth` field is suitable to specify unshallowing; provide an enum
to aide in specifying the `unshallow` value.
</pre>
</div>
</content>
</entry>
<entry>
<title>oid: use an oid array instead of shallowarray</title>
<updated>2023-05-09T16:14:08+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-05-08T09:07:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=0a7e32b2326c02a91f9560dfd209e56ea9fb9d49'/>
<id>0a7e32b2326c02a91f9560dfd209e56ea9fb9d49</id>
<content type='text'>
Users should provide us an array of object ids; we don't need a separate
type. And especially, we should not be mutating user-providing values.
Instead, use `git_oid *` in the shallow code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Users should provide us an array of object ids; we don't need a separate
type. And especially, we should not be mutating user-providing values.
Instead, use `git_oid *` in the shallow code.
</pre>
</div>
</content>
</entry>
<entry>
<title>shallow: don't default to -1 for depth</title>
<updated>2023-05-08T14:06:41+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-04-25T08:31:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=3388f5ba1b821e9683d21ca41c34ed752d2db222'/>
<id>3388f5ba1b821e9683d21ca41c34ed752d2db222</id>
<content type='text'>
Depth of `0` should indicate full depth. Disallow negative values (they
may have a future meaning) and use `0` as the default.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Depth of `0` should indicate full depth. Disallow negative values (they
may have a future meaning) and use `0` as the default.
</pre>
</div>
</content>
</entry>
<entry>
<title>sha256: wrap_odb supports SHA256</title>
<updated>2023-05-06T13:33:49+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-05-05T15:29:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=161d8a12e70936222a55b5571098299957cdee04'/>
<id>161d8a12e70936222a55b5571098299957cdee04</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>shallow: remove feature flag</title>
<updated>2023-04-24T10:49:12+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-04-22T22:19:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=dd15c615bde54eb02c5cec17257a83dcd8528371'/>
<id>dd15c615bde54eb02c5cec17257a83dcd8528371</id>
<content type='text'>
The opt mechanism isn't _really_ meant to be for feature flags, and it's
weird to feature flag shallow / unshallow at all.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The opt mechanism isn't _really_ meant to be for feature flags, and it's
weird to feature flag shallow / unshallow at all.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/main' into shallow-clone-network</title>
<updated>2023-04-22T22:17:32+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2023-04-22T22:12:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=190a4c55df72b32adf4d60f77cbc47276b74f84b'/>
<id>190a4c55df72b32adf4d60f77cbc47276b74f84b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
