<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git, branch cmn/commit-create-safe</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>commit: safer commit creation with reference update</title>
<updated>2014-04-29T22:41:37+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-04-09T12:08:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=217c029b54e8f1574ae6bc71c4b25533ecff3b6a'/>
<id>217c029b54e8f1574ae6bc71c4b25533ecff3b6a</id>
<content type='text'>
The current version of the commit creation and amend function are unsafe
to use when passing the update_ref parameter, as they do not check that
the reference at the moment of update points to what the user expects.

Make sure that we're moving history forward when we ask the library to
update the reference for us by checking that the first parent of the new
commit is the current value of the reference. We also make sure that the
ref we're updating hasn't moved between the read and the write.

Similarly, when amending a commit, make sure that the current tip of the
branch is the commit we're amending.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current version of the commit creation and amend function are unsafe
to use when passing the update_ref parameter, as they do not check that
the reference at the moment of update points to what the user expects.

Make sure that we're moving history forward when we ask the library to
update the reference for us by checking that the first parent of the new
commit is the current value of the reference. We also make sure that the
ref we're updating hasn't moved between the read and the write.

Similarly, when amending a commit, make sure that the current tip of the
branch is the commit we're amending.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2306 from odcinek/development_cmake</title>
<updated>2014-04-28T14:36:27+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>vicent@github.com</email>
</author>
<published>2014-04-28T14:36:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=041336e6bd9dbd22db29f2294e5db8645efdd46b'/>
<id>041336e6bd9dbd22db29f2294e5db8645efdd46b</id>
<content type='text'>
Make the build CMake 2.6 compatible</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the build CMake 2.6 compatible</pre>
</div>
</content>
</entry>
<entry>
<title>Make the build CMake 2.6 compatible</title>
<updated>2014-04-28T14:24:36+00:00</updated>
<author>
<name>Marcin Sawicki</name>
<email>odcinek@gmail.com</email>
</author>
<published>2014-04-28T14:24:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=7f0de93a0ddb7aeac24cf1427f50ec86e7a58c08'/>
<id>7f0de93a0ddb7aeac24cf1427f50ec86e7a58c08</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 #2301 from libgit2/cmn/pack-objects-memory</title>
<updated>2014-04-27T10:57:53+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>vicent@github.com</email>
</author>
<published>2014-04-27T10:57:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ec77105889105204f0efd723200aa74971e8edd3'/>
<id>ec77105889105204f0efd723200aa74971e8edd3</id>
<content type='text'>
Keep the deflate buffer from ballooning up</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keep the deflate buffer from ballooning up</pre>
</div>
</content>
</entry>
<entry>
<title>pack-objects: always write out the status in write_one()</title>
<updated>2014-04-26T16:15:39+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-04-26T16:15:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=38d338b2b85f280fe54057375fc3ccd6d2877e26'/>
<id>38d338b2b85f280fe54057375fc3ccd6d2877e26</id>
<content type='text'>
Make sure we set the output parameter to a value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure we set the output parameter to a value.
</pre>
</div>
</content>
</entry>
<entry>
<title>zstream: grow based on used memory rather than allocated</title>
<updated>2014-04-26T16:04:43+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-04-26T16:04:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=c7f86efb13815554d5b5e7c58bf19769e99c1357'/>
<id>c7f86efb13815554d5b5e7c58bf19769e99c1357</id>
<content type='text'>
When deflating data, we might need to grow the buffer. Currently we
add a guess on top of the currently-allocated buffer size.

When we re-use the buffer, it already has some memory allocated; adding
to that means that we always grow the buffer regardless of how much we
need to use.

Instead, increase on top of the currently-used size. This still leaves
us with the allocated size of the largest object we compress, but it's a
minor pain compared to unbounded growth.

This fixes #2285.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When deflating data, we might need to grow the buffer. Currently we
add a guess on top of the currently-allocated buffer size.

When we re-use the buffer, it already has some memory allocated; adding
to that means that we always grow the buffer regardless of how much we
need to use.

Instead, increase on top of the currently-used size. This still leaves
us with the allocated size of the largest object we compress, but it's a
minor pain compared to unbounded growth.

This fixes #2285.
</pre>
</div>
</content>
</entry>
<entry>
<title>refdb: fix typo and wording</title>
<updated>2014-04-26T12:29:18+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-04-26T12:29:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=4f9d54146d569fffb679386fd3057e571afacd1f'/>
<id>4f9d54146d569fffb679386fd3057e571afacd1f</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 #2299 from mekishizufu/fix_leaks</title>
<updated>2014-04-25T14:08:41+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>vicent@github.com</email>
</author>
<published>2014-04-25T14:08:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=e79a2998cbff456264ed24e6dd46e07143567fe9'/>
<id>e79a2998cbff456264ed24e6dd46e07143567fe9</id>
<content type='text'>
Plug some leaks</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Plug some leaks</pre>
</div>
</content>
</entry>
<entry>
<title>Reset tests: Use sandboxed index</title>
<updated>2014-04-25T13:49:58+00:00</updated>
<author>
<name>Jiri Pospisil</name>
<email>mekishizufu@gmail.com</email>
</author>
<published>2014-04-25T13:49:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=7b8d564d5da4745e9227676a8768b3b48ca3dff8'/>
<id>7b8d564d5da4745e9227676a8768b3b48ca3dff8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Filter: Make sure to release local on error</title>
<updated>2014-04-25T13:49:26+00:00</updated>
<author>
<name>Jiri Pospisil</name>
<email>mekishizufu@gmail.com</email>
</author>
<published>2014-04-25T13:49:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=424222f4157b050fd6417b8805796f7183a38e03'/>
<id>424222f4157b050fd6417b8805796f7183a38e03</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
