<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/include/git2, branch cmn/commit-to-memory</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>commit: split creating the commit and writing it out</title>
<updated>2016-03-08T12:11:49+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-03-03T21:56:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=47cb42da5ad2e0af7946faf053c7ea4fd92ec6da'/>
<id>47cb42da5ad2e0af7946faf053c7ea4fd92ec6da</id>
<content type='text'>
Sometimes you want to create a commit but not write it out to the
objectdb immediately. For these cases, provide a new function to
retrieve the buffer instead of having to go through the db.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes you want to create a commit but not write it out to the
objectdb immediately. For these cases, provide a new function to
retrieve the buffer instead of having to go through the db.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version to 0.24.0</title>
<updated>2016-03-03T19:20:43+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-03-03T19:20:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=1e8255a39bd50c92add367d01519a76b0d782683'/>
<id>1e8255a39bd50c92add367d01519a76b0d782683</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>git_libgit2_opts: introduce `GIT_OPT_ENABLE_STRICT_OBJECT_CREATION`</title>
<updated>2016-02-28T17:38:39+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-02-23T04:46:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=22a19f5b5795153b4c77c75adfae790c3b919be4'/>
<id>22a19f5b5795153b4c77c75adfae790c3b919be4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3628 from pks-t/pks/coverity-fixes</title>
<updated>2016-02-25T17:09:49+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-02-25T17:09:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=0d9a7498c5f8852a60ffaf4d1c6b53c919193694'/>
<id>0d9a7498c5f8852a60ffaf4d1c6b53c919193694</id>
<content type='text'>
Coverity fixes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Coverity fixes</pre>
</div>
</content>
</entry>
<entry>
<title>giterr_set_str: remove `GITERR_OS` documentation</title>
<updated>2016-02-23T18:08:58+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-02-23T18:05:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=cd59e0c0c757a5bcc4ed2324b207846b411368cb'/>
<id>cd59e0c0c757a5bcc4ed2324b207846b411368cb</id>
<content type='text'>
The `giterr_set_str` does not actually honor `GITERR_OS`.  Remove
the documentation that claims that we do.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `giterr_set_str` does not actually honor `GITERR_OS`.  Remove
the documentation that claims that we do.
</pre>
</div>
</content>
</entry>
<entry>
<title>index: fix contradicting comparison</title>
<updated>2016-02-23T11:07:14+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2016-02-23T10:23:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=0f1e2d2066115e62fd7396e0f436b4a5dd8384cd'/>
<id>0f1e2d2066115e62fd7396e0f436b4a5dd8384cd</id>
<content type='text'>
The overflow check in `read_reuc` tries to verify if the
`git__strtol32` parses an integer bigger than UINT_MAX. The `tmp`
variable is casted to an unsigned int for this and then checked
for being greater than UINT_MAX, which obviously can never be
true.

Fix this by instead fixing the `mode` field's size in `struct
git_index_reuc_entry` to `uint32_t`. We can now parse the int
with `git__strtol64`, which can never return a value bigger than
`UINT32_MAX`, and additionally checking if the returned value is
smaller than zero.

We do not need to handle overflows explicitly here, as
`git__strtol64` returns an error when the returned value would
overflow.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The overflow check in `read_reuc` tries to verify if the
`git__strtol32` parses an integer bigger than UINT_MAX. The `tmp`
variable is casted to an unsigned int for this and then checked
for being greater than UINT_MAX, which obviously can never be
true.

Fix this by instead fixing the `mode` field's size in `struct
git_index_reuc_entry` to `uint32_t`. We can now parse the int
with `git__strtol64`, which can never return a value bigger than
`UINT32_MAX`, and additionally checking if the returned value is
smaller than zero.

We do not need to handle overflows explicitly here, as
`git__strtol64` returns an error when the returned value would
overflow.
</pre>
</div>
</content>
</entry>
<entry>
<title>git_libgit2_opts: document GIT_OPT_SET_USER_AGENT</title>
<updated>2016-02-23T03:26:01+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-02-23T03:26:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=5bc93eaea0ce133caab0aa169789f73f0c0bc4ae'/>
<id>5bc93eaea0ce133caab0aa169789f73f0c0bc4ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a few checkout -&gt; rebase typos</title>
<updated>2016-02-22T14:41:01+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-02-22T14:41:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=88ab3be6f52a6711d63266a296b6d569dc299019'/>
<id>88ab3be6f52a6711d63266a296b6d569dc299019</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3597 from ethomson/filter_registration</title>
<updated>2016-02-19T12:06:51+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>carlosmn@github.com</email>
</author>
<published>2016-02-19T12:06:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=78e16c3442b57f967c31e65cfb4792dcf184c6e8'/>
<id>78e16c3442b57f967c31e65cfb4792dcf184c6e8</id>
<content type='text'>
Filter registration</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Filter registration</pre>
</div>
</content>
</entry>
<entry>
<title>commit: expose the different kinds of errors</title>
<updated>2016-02-16T13:06:48+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2016-02-16T13:06:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=eadd0f05f6faf14f94876839f00981da5d642667'/>
<id>eadd0f05f6faf14f94876839f00981da5d642667</id>
<content type='text'>
We should be checking whether the object we're looking up is a commit,
and we should let the caller know whether the not-found return code
comes from a bad object type or just a missing signature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We should be checking whether the object we're looking up is a commit,
and we should let the caller know whether the not-found return code
comes from a bad object type or just a missing signature.
</pre>
</div>
</content>
</entry>
</feed>
