<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git, branch peff/hashcmp-is-memcmp</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>oid: use memcmp in git_oid__hashcmp</title>
<updated>2017-08-09T20:54:22+00:00</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2017-08-09T20:54:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=c9b1e6469e736dd6c17e83c451ae3175612dacab'/>
<id>c9b1e6469e736dd6c17e83c451ae3175612dacab</id>
<content type='text'>
The open-coded version was inherited from git.git. But it
turns out it was based on an older version of glibc, whose
memcmp was not very optimized.

Modern glibc does much better, and some compilers (like gcc
7) can even inline the memcmp into a series of multi-byte
xors.

Upstream is switching to using memcmp in
git/git@0b006014c87f400bd9a86267ed30fd3e7b383884.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The open-coded version was inherited from git.git. But it
turns out it was based on an older version of glibc, whose
memcmp was not very optimized.

Modern glibc does much better, and some compilers (like gcc
7) can even inline the memcmp into a series of multi-byte
xors.

Upstream is switching to using memcmp in
git/git@0b006014c87f400bd9a86267ed30fd3e7b383884.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4304 from pks-t/pks/patch-buffers</title>
<updated>2017-07-31T00:20:21+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-31T00:20:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=a9d6b9d529daa920b558ee3f34151422d10bc95e'/>
<id>a9d6b9d529daa920b558ee3f34151422d10bc95e</id>
<content type='text'>
patch_generate: represent buffers as void pointers</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
patch_generate: represent buffers as void pointers</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4323 from libgit2/ethomson/remove_sys_remote_h</title>
<updated>2017-07-31T00:17:24+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-31T00:17:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=dca8c44f4f882098a9653a42d37194d7e3782119'/>
<id>dca8c44f4f882098a9653a42d37194d7e3782119</id>
<content type='text'>
Remove unused 'sys/remote.h' header</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove unused 'sys/remote.h' header</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '4233'</title>
<updated>2017-07-30T23:59:27+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-30T23:58:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=fb585d01205e1a0b580a39f9cbdc829ff63e02c9'/>
<id>fb585d01205e1a0b580a39f9cbdc829ff63e02c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>changelog: update to reflect `detached` api name</title>
<updated>2017-07-30T23:58:35+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-30T23:58:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=868ce84f9ed21f8881b3c66b2363b29b219a99ab'/>
<id>868ce84f9ed21f8881b3c66b2363b29b219a99ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused 'sys/remote.h' header</title>
<updated>2017-07-30T23:38:28+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-30T23:38:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=37841317377aee4ce08ce3787d88dd24f3d7b982'/>
<id>37841317377aee4ce08ce3787d88dd24f3d7b982</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 #4320 from pks-t/pks/rebase-submodule-asserts</title>
<updated>2017-07-28T10:19:24+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-28T10:19:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=d55431ebfaf3958ca2030ac73a3caff9c8507b4c'/>
<id>d55431ebfaf3958ca2030ac73a3caff9c8507b4c</id>
<content type='text'>
tests: rebase::submodule: verify initialization method calls</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tests: rebase::submodule: verify initialization method calls</pre>
</div>
</content>
</entry>
<entry>
<title>tests: rebase::submodule: verify initialization method calls</title>
<updated>2017-07-28T07:01:41+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2017-07-28T07:01:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=c0558c62989215d724ebc3b267ae1022618c49e8'/>
<id>c0558c62989215d724ebc3b267ae1022618c49e8</id>
<content type='text'>
Some return codes for functions which may fail are not being checked in
`test_rebase_submodule__initialize`. This may lead us to not notice
errors when initializing the environment and would possibly result in
either memory corruption or segfaults as soon as any of the
initialization steps fails. Fix this by wrapping these function calls
into `cl_git_pass`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some return codes for functions which may fail are not being checked in
`test_rebase_submodule__initialize`. This may lead us to not notice
errors when initializing the environment and would possibly result in
either memory corruption or segfaults as soon as any of the
initialization steps fails. Fix this by wrapping these function calls
into `cl_git_pass`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4275 from tiennou/fix-rebase-submodule-test</title>
<updated>2017-07-27T22:05:53+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-27T22:05:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=4f4bc5732baf4545ab42bbd80d2a971e2f1e316c'/>
<id>4f4bc5732baf4545ab42bbd80d2a971e2f1e316c</id>
<content type='text'>
tests: rewrite rebase-submodule .gitmodule file</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tests: rewrite rebase-submodule .gitmodule file</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4314 from pks-t/pks/timsort</title>
<updated>2017-07-26T22:24:28+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-26T22:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ed00ac06049b05992b677ef970071fe4129b2781'/>
<id>ed00ac06049b05992b677ef970071fe4129b2781</id>
<content type='text'>
tsort: remove idempotent conditional assignment</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tsort: remove idempotent conditional assignment</pre>
</div>
</content>
</entry>
</feed>
