<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src, branch ethomson/blob_data_is_binary</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>blob: identify binary content</title>
<updated>2021-12-10T20:19:59+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2021-12-10T20:19:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=4591e76a2d1aa07dc80eaa002b4ed7c58d81c242'/>
<id>4591e76a2d1aa07dc80eaa002b4ed7c58d81c242</id>
<content type='text'>
Introduce `git_blob_data_is_binary` to examine a blob's data, instead of
the blob itself.  A replacement for `git_buf_is_binary`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce `git_blob_data_is_binary` to examine a blob's data, instead of
the blob itself.  A replacement for `git_buf_is_binary`.
</pre>
</div>
</content>
</entry>
<entry>
<title>object: introduce a raw content validation function</title>
<updated>2021-12-01T03:45:13+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-29T18:44:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=9f03ebd14b6beb00a9bed52c0568a13f8d5ebb08'/>
<id>9f03ebd14b6beb00a9bed52c0568a13f8d5ebb08</id>
<content type='text'>
Users may want to validate raw object content; provide them a function
to do so.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Users may want to validate raw object content; provide them a function
to do so.
</pre>
</div>
</content>
</entry>
<entry>
<title>object: return GIT_EINVALID on parse errors</title>
<updated>2021-12-01T03:45:13+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-29T18:36:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=fc1a3f456540dfc4dc143b322b943a4264658d56'/>
<id>fc1a3f456540dfc4dc143b322b943a4264658d56</id>
<content type='text'>
Return `GIT_EINVALID` on parse errors so that direct callers of parse
functions can determine when there was a failure to parse the object.

The object parser functions will swallow this error code to prevent it
from propagating down the chain to end-users.  (`git_merge` should not
return `GIT_EINVALID` when a commit it tries to look up is not valid,
this would be too vague to be useful.)

The only public function that this affects is
`git_signature_from_buffer`, which is now documented as returning
`GIT_EINVALID` when appropriate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return `GIT_EINVALID` on parse errors so that direct callers of parse
functions can determine when there was a failure to parse the object.

The object parser functions will swallow this error code to prevent it
from propagating down the chain to end-users.  (`git_merge` should not
return `GIT_EINVALID` when a commit it tries to look up is not valid,
this would be too vague to be useful.)

The only public function that this affects is
`git_signature_from_buffer`, which is now documented as returning
`GIT_EINVALID` when appropriate.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6122 from libgit2/ethomson/cleanup</title>
<updated>2021-12-01T02:09:57+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-12-01T02:09:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=6fdb1b2f55da9593576b096ee2eecce61995fb51'/>
<id>6fdb1b2f55da9593576b096ee2eecce61995fb51</id>
<content type='text'>
Minor code cleanups</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Minor code cleanups</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6106 from ammgws/fixtemplateerr</title>
<updated>2021-11-22T16:23:50+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-22T16:23:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=f9c4dc10d90732cfbe2271dd58b01dd8f4003d15'/>
<id>f9c4dc10d90732cfbe2271dd58b01dd8f4003d15</id>
<content type='text'>
Fix repo init when template dir is non-existent</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix repo init when template dir is non-existent</pre>
</div>
</content>
</entry>
<entry>
<title>repo: minor formatting fix</title>
<updated>2021-11-22T15:29:29+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2021-11-22T15:29:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=3461aaf77aad4240ec921697293dc681a8564023'/>
<id>3461aaf77aad4240ec921697293dc681a8564023</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cmake: use CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR</title>
<updated>2021-11-22T14:27:59+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-19T13:48:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=84083dcc8bd41332ccac9d7b537f3e254d79011c'/>
<id>84083dcc8bd41332ccac9d7b537f3e254d79011c</id>
<content type='text'>
Instead of using the project-specific `libgit2_SOURCE_DIR` and
`libgit2_BINARY_DIR` variables, use `CMAKE_SOURCE_DIR` and
`CMAKE_BINARY_DIR`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of using the project-specific `libgit2_SOURCE_DIR` and
`libgit2_BINARY_DIR` variables, use `CMAKE_SOURCE_DIR` and
`CMAKE_BINARY_DIR`.
</pre>
</div>
</content>
</entry>
<entry>
<title>filebuf: use hashes not oids</title>
<updated>2021-11-22T14:27:59+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-22T02:34:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=adcf638cca0a3b38f51a6d7c9b7ce479528cd854'/>
<id>adcf638cca0a3b38f51a6d7c9b7ce479528cd854</id>
<content type='text'>
The filebuf functions should use hashes directly, not indirectly
using the oid functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The filebuf functions should use hashes directly, not indirectly
using the oid functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>util: don't include unnecessary system libraries</title>
<updated>2021-11-22T14:27:59+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-19T14:36:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=fc42c28ebe8bd4b524cc0f1594395a04b7d8e796'/>
<id>fc42c28ebe8bd4b524cc0f1594395a04b7d8e796</id>
<content type='text'>
Remove some unnecessary includes from utility code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove some unnecessary includes from utility code.
</pre>
</div>
</content>
</entry>
<entry>
<title>date: rfc2822 formatting uses a `git_buf` instead of a static string</title>
<updated>2021-11-19T11:31:32+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-18T17:36:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=add30a838867820788c871c1d034fcf68c2ad12c'/>
<id>add30a838867820788c871c1d034fcf68c2ad12c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
