<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src/odb_pack.c, branch attr-export</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>odb: allow creating an ODB backend from a packfile index</title>
<updated>2012-07-21T14:23:49+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@elego.de</email>
</author>
<published>2012-07-21T14:23:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=507523c32f71056a106f85712fe2086fdb94fbd0'/>
<id>507523c32f71056a106f85712fe2086fdb94fbd0</id>
<content type='text'>
git_odb_backend_one_packfile() allows us to create an ODB backend out
of an .idx file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git_odb_backend_one_packfile() allows us to create an ODB backend out
of an .idx file.
</pre>
</div>
</content>
</entry>
<entry>
<title>odb: add git_odb_foreach()</title>
<updated>2012-07-03T10:50:51+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@elego.de</email>
</author>
<published>2012-06-05T12:48:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=521aedad307c6f72d6f6d660943508b2b015f6dd'/>
<id>521aedad307c6f72d6f6d660943508b2b015f6dd</id>
<content type='text'>
Go through each backend and list every objects that exists in
them. This allows fsck-like uses.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Go through each backend and list every objects that exists in
them. This allows fsck-like uses.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix valgrind issues</title>
<updated>2012-05-04T23:46:46+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2012-05-04T23:46:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=282283acc65bab9de231a2b3dc489eb171d5f1cf'/>
<id>282283acc65bab9de231a2b3dc489eb171d5f1cf</id>
<content type='text'>
There are three changes here:
- correctly propogate error code from failed object lookups
- make zlib inflate use our allocators
- add OID to notfound error in ODB lookups
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are three changes here:
- correctly propogate error code from failed object lookups
- make zlib inflate use our allocators
- add OID to notfound error in ODB lookups
</pre>
</div>
</content>
</entry>
<entry>
<title>buf: deploy git_buf_len()</title>
<updated>2012-04-30T05:12:37+00:00</updated>
<author>
<name>nulltoken</name>
<email>emeric.fermas@gmail.com</email>
</author>
<published>2012-04-29T19:46:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=fa6420f73e8a621cc04e95820b625097b5c2fbf2'/>
<id>fa6420f73e8a621cc04e95820b625097b5c2fbf2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix warnings on 64-bit windows builds</title>
<updated>2012-04-17T17:47:39+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2012-04-13T20:00:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=44ef8b1b300f0cd3d8572fa1b40d257462f28240'/>
<id>44ef8b1b300f0cd3d8572fa1b40d257462f28240</id>
<content type='text'>
This fixes all the warnings on win64 except those in deps, which
come from the regex code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes all the warnings on win64 except those in deps, which
come from the regex code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert attr, ignore, mwindow, status to new errors</title>
<updated>2012-03-16T22:56:01+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>arrbee@arrbee.com</email>
</author>
<published>2012-03-16T22:56:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=0d0fa7c3681e4ef3d0452666a9bc97d4b08391c9'/>
<id>0d0fa7c3681e4ef3d0452666a9bc97d4b08391c9</id>
<content type='text'>
Also cleaned up some previously converted code that still had
little things to polish.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also cleaned up some previously converted code that still had
little things to polish.
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate ODB files to new error handling</title>
<updated>2012-03-13T05:55:40+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>arrbee@arrbee.com</email>
</author>
<published>2012-03-13T05:55:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=e1de726c15937a8dbf81d12ef0c872cf6576ebd0'/>
<id>e1de726c15937a8dbf81d12ef0c872cf6576ebd0</id>
<content type='text'>
This migrates odb.c, odb_loose.c, odb_pack.c and pack.c to
the new style of error handling.  Also got the unix and win32
versions of map.c.  There are some minor changes to other
files but no others were completely converted.

This also contains an update to filebuf so that a zeroed out
filebuf will not think that the fd (== 0) is actually open
(and inadvertently call close() on fd 0 if cleaned up).

Lastly, this was built and tested on win32 and contains a
bunch of fixes for the win32 build which was pretty broken.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This migrates odb.c, odb_loose.c, odb_pack.c and pack.c to
the new style of error handling.  Also got the unix and win32
versions of map.c.  There are some minor changes to other
files but no others were completely converted.

This also contains an update to filebuf so that a zeroed out
filebuf will not think that the fd (== 0) is actually open
(and inadvertently call close() on fd 0 if cleaned up).

Lastly, this was built and tested on win32 and contains a
bunch of fixes for the win32 build which was pretty broken.
</pre>
</div>
</content>
</entry>
<entry>
<title>error-handling: References</title>
<updated>2012-03-05T23:43:10+00:00</updated>
<author>
<name>Vicent Martí</name>
<email>tanoku@gmail.com</email>
</author>
<published>2012-02-16T23:13:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=1a48112342932e9fcd45a1ff5935f1c9c53b83d1'/>
<id>1a48112342932e9fcd45a1ff5935f1c9c53b83d1</id>
<content type='text'>
Yes, this is error handling solely for `refs.c`, but some of the
abstractions leak all ofer the code base.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Yes, this is error handling solely for `refs.c`, but some of the
abstractions leak all ofer the code base.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up GIT_UNUSED macros on all platforms</title>
<updated>2012-03-02T23:51:55+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>arrbee@arrbee.com</email>
</author>
<published>2012-02-29T20:04:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=854eccbb2d86c2910f9d98dc52f9ebd0e37c262a'/>
<id>854eccbb2d86c2910f9d98dc52f9ebd0e37c262a</id>
<content type='text'>
It turns out that commit 31e9cfc4cbcaf1b38cdd3dbe3282a8f57e5366a5
did not fix the GIT_USUSED behavior on all platforms.  This commit
walks through and really cleans things up more thoroughly, getting
rid of the unnecessary stuff.

To remove the use of some GIT_UNUSED, I ended up adding a couple
of new iterators for hashtables that allow you to iterator just
over keys or just over values.

In making this change, I found a bug in the clar tests (where we
were doing *count++ but meant to do (*count)++ to increment the
value).  I fixed that but then found the test failing because it
was not really using an empty repo.  So, I took some of the code
that I wrote for iterator testing and moved it to clar_helpers.c,
then made use of that to make it easier to open fixtures on a
per test basis even within a single test file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It turns out that commit 31e9cfc4cbcaf1b38cdd3dbe3282a8f57e5366a5
did not fix the GIT_USUSED behavior on all platforms.  This commit
walks through and really cleans things up more thoroughly, getting
rid of the unnecessary stuff.

To remove the use of some GIT_UNUSED, I ended up adding a couple
of new iterators for hashtables that allow you to iterator just
over keys or just over values.

In making this change, I found a bug in the clar tests (where we
were doing *count++ but meant to do (*count)++ to increment the
value).  I fixed that but then found the test failing because it
was not really using an empty repo.  So, I took some of the code
that I wrote for iterator testing and moved it to clar_helpers.c,
then made use of that to make it easier to open fixtures on a
per test basis even within a single test file.
</pre>
</div>
</content>
</entry>
<entry>
<title>zlib: Remove custom `git2/zlib.h` header</title>
<updated>2012-02-15T15:56:56+00:00</updated>
<author>
<name>Vicent Martí</name>
<email>tanoku@gmail.com</email>
</author>
<published>2012-02-15T15:56:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=0c3bae6268c404fc3717cc90ba1bc5db91c8cbe6'/>
<id>0c3bae6268c404fc3717cc90ba1bc5db91c8cbe6</id>
<content type='text'>
This is legacy compat stuff for when `deflateBound` is not defined, but
we're not embedding zlib and that function is always available. Kill
that with fire.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is legacy compat stuff for when `deflateBound` is not defined, but
we're not embedding zlib and that function is always available. Kill
that with fire.
</pre>
</div>
</content>
</entry>
</feed>
