<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git, branch correct-ahead-behind</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>Fix a bunch of leaks, error handling cases</title>
<updated>2012-12-10T05:55:51+00:00</updated>
<author>
<name>Scott J. Goldman</name>
<email>scottjg@github.com</email>
</author>
<published>2012-12-10T05:55:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=7d26c410bf6f5ba3be18c60d789d064219f9aca6'/>
<id>7d26c410bf6f5ba3be18c60d789d064219f9aca6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix mark_parents() to account for bad luck traversals</title>
<updated>2012-12-10T05:24:47+00:00</updated>
<author>
<name>Scott J. Goldman</name>
<email>scottjg@github.com</email>
</author>
<published>2012-12-10T05:24:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=e51c8b99be1fc35bd3db30ae629cc404942cdc24'/>
<id>e51c8b99be1fc35bd3db30ae629cc404942cdc24</id>
<content type='text'>
If commit timestamps are off, we're more likely to hit a traversal
where the first path ends up traversing past the root commit of the tree.
If that happens, it's possible that the loop will complete before the second
path marks some of those final parents. This fix keeps track of the root
nodes that are encountered in the traversal, and verify that they are
properly marked.

In the best case, with accurate timestamps, the traversal will continue
to terminate when all the commits are STALE (parents of a merge-base), as
it did before. In the worst case, where one path makes a complete traversal
past a root commit, we will continue the loop until the root commit itself
is marked.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If commit timestamps are off, we're more likely to hit a traversal
where the first path ends up traversing past the root commit of the tree.
If that happens, it's possible that the loop will complete before the second
path marks some of those final parents. This fix keeps track of the root
nodes that are encountered in the traversal, and verify that they are
properly marked.

In the best case, with accurate timestamps, the traversal will continue
to terminate when all the commits are STALE (parents of a merge-base), as
it did before. In the worst case, where one path makes a complete traversal
past a root commit, we will continue the loop until the root commit itself
is marked.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix no_common_ancestor test for ahead_behind count</title>
<updated>2012-12-10T05:04:32+00:00</updated>
<author>
<name>Scott J. Goldman</name>
<email>scottjg@github.com</email>
</author>
<published>2012-12-10T05:04:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=b337814e70a836fe6611df4a10032fd01ed713a3'/>
<id>b337814e70a836fe6611df4a10032fd01ed713a3</id>
<content type='text'>
Ahead-behind count is still a valid operation, even if the two
commits don't have a common merge-base. The old implementation was
buggy, so it returned ENOTFOUND. Fixed now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ahead-behind count is still a valid operation, even if the two
commits don't have a common merge-base. The old implementation was
buggy, so it returned ENOTFOUND. Fixed now.
</pre>
</div>
</content>
</entry>
<entry>
<title>Morph copy of git_merge__bases_many() -&gt; mark_parents()</title>
<updated>2012-12-10T05:01:46+00:00</updated>
<author>
<name>Scott J. Goldman</name>
<email>scottjg@github.com</email>
</author>
<published>2012-12-10T05:01:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=9c2a4e8c4731854c602acd3c5eb46f4fc84f9f71'/>
<id>9c2a4e8c4731854c602acd3c5eb46f4fc84f9f71</id>
<content type='text'>
Integrate mark_parents() with the ahead_behind() code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Integrate mark_parents() with the ahead_behind() code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Copy git_merge__bases_many() for new ahead-behind code</title>
<updated>2012-12-10T04:43:26+00:00</updated>
<author>
<name>Scott J. Goldman</name>
<email>scottjg@github.com</email>
</author>
<published>2012-12-10T04:43:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=a3a81ae5420fca1f00980f9d232c9197a7f98738'/>
<id>a3a81ae5420fca1f00980f9d232c9197a7f98738</id>
<content type='text'>
To be used as a basis for a function which marks nodes with parents
up to the merge base.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To be used as a basis for a function which marks nodes with parents
up to the merge base.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1091 from carlosmn/stream-object</title>
<updated>2012-12-07T17:40:21+00:00</updated>
<author>
<name>Vicent Martí</name>
<email>vicent@github.com</email>
</author>
<published>2012-12-07T17:40:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=0249a5032ef6fc27d1f2b974aafdb38ab61f81bc'/>
<id>0249a5032ef6fc27d1f2b974aafdb38ab61f81bc</id>
<content type='text'>
Indexer speedup with large objects</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Indexer speedup with large objects</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1123 from carlosmn/lax-tree</title>
<updated>2012-12-07T16:29:53+00:00</updated>
<author>
<name>Vicent Martí</name>
<email>vicent@github.com</email>
</author>
<published>2012-12-07T16:29:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=2599237363d89f7319bc589830597a06f53b1ea0'/>
<id>2599237363d89f7319bc589830597a06f53b1ea0</id>
<content type='text'>
tree: relax the filemode parser</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tree: relax the filemode parser</pre>
</div>
</content>
</entry>
<entry>
<title>tree: relax the filemode parser</title>
<updated>2012-12-07T15:59:18+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2012-12-07T14:16:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=f1c75b94a17a2835f4166c11efe1cb4084bf5388'/>
<id>f1c75b94a17a2835f4166c11efe1cb4084bf5388</id>
<content type='text'>
There are many different broken filemodes in the wild so we need to
protect against them and give something useful up the chain. Don't
fail when reading a tree from the ODB but normalize the mode as best
we can.

As 664 is no longer a mode that we consider to be valid and gets
normalized to 644, we can stop accepting it in the treebuilder. The
library won't expose it to the user, so any invalid modes are a bug.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are many different broken filemodes in the wild so we need to
protect against them and give something useful up the chain. Don't
fail when reading a tree from the ODB but normalize the mode as best
we can.

As 664 is no longer a mode that we consider to be valid and gets
normalized to 644, we can stop accepting it in the treebuilder. The
library won't expose it to the user, so any invalid modes are a bug.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow compilation as C++</title>
<updated>2012-12-07T03:41:52+00:00</updated>
<author>
<name>Ben Straub</name>
<email>bs@github.com</email>
</author>
<published>2012-12-07T03:41:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=fac43c54a6f02d3dbedd11ec228d4cb606a52bff'/>
<id>fac43c54a6f02d3dbedd11ec228d4cb606a52bff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>travis: Try this key</title>
<updated>2012-12-06T16:39:56+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>tanoku@gmail.com</email>
</author>
<published>2012-12-06T16:39:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ed6a418791752c97645e86a75e166ebcd5b0e39c'/>
<id>ed6a418791752c97645e86a75e166ebcd5b0e39c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
