<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src, branch peff/binary-search-do-while</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>sha1_position: convert do-while to while</title>
<updated>2017-08-09T20:34:02+00:00</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2017-08-09T20:34:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=09930192b903e15d5c55afc2fd83d6f37ba6edd9'/>
<id>09930192b903e15d5c55afc2fd83d6f37ba6edd9</id>
<content type='text'>
If we enter the sha1_position() function with "lo == hi",
we have no elements. But the do-while loop means that we'll
enter the loop body once anyway, picking "mi" at that same
value and comparing nonsense to our desired key. This is
unlikely to match in practice, but we still shouldn't be
looking at the memory in the first place.

This bug is inherited from git.git; it was fixed there in
e01580cfe01526ec2c4eb4899f776a82ade7e0e1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we enter the sha1_position() function with "lo == hi",
we have no elements. But the do-while loop means that we'll
enter the loop body once anyway, picking "mi" at that same
value and comparing nonsense to our desired key. This is
unlikely to match in practice, but we still shouldn't be
looking at the memory in the first place.

This bug is inherited from git.git; it was fixed there in
e01580cfe01526ec2c4eb4899f776a82ade7e0e1.
</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://91.123.203.49/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 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://91.123.203.49/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>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://91.123.203.49/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>
<entry>
<title>Merge pull request #4311 from libgit2/ethomson/win32_remediate</title>
<updated>2017-07-26T10:03:27+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-26T10:03:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=20d300007e17ab8191eed99b38cc09a643f57211'/>
<id>20d300007e17ab8191eed99b38cc09a643f57211</id>
<content type='text'>
win32: provide fast-path for retrying filesystem operations</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
win32: provide fast-path for retrying filesystem operations</pre>
</div>
</content>
</entry>
<entry>
<title>win32: provide fast-path for retrying filesystem operations</title>
<updated>2017-07-26T09:41:03+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-18T21:44:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=bc35fd4b03fc770b574088969dabf07243510cfb'/>
<id>bc35fd4b03fc770b574088969dabf07243510cfb</id>
<content type='text'>
When using the `do_with_retries` macro for retrying filesystem
operations in the posix emulation layer, allow the remediation function
to return `GIT_RETRY`, meaning that the error was believed to be
remediated, and the operation should be retried immediately, without
a sleep.

This is a slightly more general solution to the problem fixed in #4312.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using the `do_with_retries` macro for retrying filesystem
operations in the posix emulation layer, allow the remediation function
to return `GIT_RETRY`, meaning that the error was believed to be
remediated, and the operation should be retried immediately, without
a sleep.

This is a slightly more general solution to the problem fixed in #4312.
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed win32 p_unlink retry sleep issue</title>
<updated>2017-07-26T09:40:30+00:00</updated>
<author>
<name>Carson Howard</name>
<email>carsonh@axosoft.com</email>
</author>
<published>2017-07-18T21:47:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=1bcdaba2bc87d12cf7666ee1b2c238ccc92024f2'/>
<id>1bcdaba2bc87d12cf7666ee1b2c238ccc92024f2</id>
<content type='text'>
Fixed an issue where the retry logic on p_unlink sleeps before it tries setting a file to write mode causing unnecessary slowdown.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed an issue where the retry logic on p_unlink sleeps before it tries setting a file to write mode causing unnecessary slowdown.</pre>
</div>
</content>
</entry>
<entry>
<title>tsort: remove idempotent conditional assignment</title>
<updated>2017-07-21T09:28:13+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2017-07-21T09:26:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=fdbb40fdd8b3a7337b9a354ca59039b19a50328a'/>
<id>fdbb40fdd8b3a7337b9a354ca59039b19a50328a</id>
<content type='text'>
The conditional `run &lt; minrun` can never be true directly after
assigning `run = minrun`. Remove it to avoid confusion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The conditional `run &lt; minrun` can never be true directly after
assigning `run = minrun`. Remove it to avoid confusion.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4250 from pks-t/pks/config-file-iteration</title>
<updated>2017-07-19T20:55:55+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-19T20:55:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=e0568621535869451c91e915d28a69ac7c84b8b7'/>
<id>e0568621535869451c91e915d28a69ac7c84b8b7</id>
<content type='text'>
Configuration file fixes with includes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Configuration file fixes with includes</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4272 from pks-t/pks/patch-id</title>
<updated>2017-07-19T20:28:32+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-07-19T20:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=a94a54021c118df5d0cf526c0ace4bd96a442f39'/>
<id>a94a54021c118df5d0cf526c0ace4bd96a442f39</id>
<content type='text'>
Patch ID calculation</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch ID calculation</pre>
</div>
</content>
</entry>
</feed>
