<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/technical/api-ref-iteration.txt, branch v2.13.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.13.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.13.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-05-25T19:19:27Z</updated>
<entry>
<title>each_ref_fn: change to take an object_id parameter</title>
<updated>2015-05-25T19:19:27Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2015-05-25T18:38:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2b2a5be394bc67bed86bc009195c664dca740bd6'/>
<id>urn:sha1:2b2a5be394bc67bed86bc009195c664dca740bd6</id>
<content type='text'>
Change typedef each_ref_fn to take a "const struct object_id *oid"
parameter instead of "const unsigned char *sha1".

To aid this transition, implement an adapter that can be used to wrap
old-style functions matching the old typedef, which is now called
"each_ref_sha1_fn"), and make such functions callable via the new
interface. This requires the old function and its cb_data to be
wrapped in a "struct each_ref_fn_sha1_adapter", and that object to be
used as the cb_data for an adapter function, each_ref_fn_adapter().

This is an enormous diff, but most of it consists of simple,
mechanical changes to the sites that call any of the "for_each_ref"
family of functions. Subsequent to this change, the call sites can be
rewritten one by one to use the new interface.

Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ref-iteration doc: add_submodule_odb() returns 0 for success</title>
<updated>2013-12-03T18:40:40Z</updated>
<author>
<name>Nick Townsend</name>
<email>nick.townsend@mac.com</email>
</author>
<published>2013-11-25T23:31:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2951add0e908f04fd63b48b8fcc138ae4dd66116'/>
<id>urn:sha1:2951add0e908f04fd63b48b8fcc138ae4dd66116</id>
<content type='text'>
The usage sample of add_submodule_odb() function in the Submodules
section expects non-zero return value for success, but the function
actually reports success with zero.

Helped-by: René Scharfe &lt;l.s.r@web.de&gt;
Reviewed-by: Heiko Voigt &lt;hvoigt@hvoigt.net&gt;
Signed-off-by: Nick Townsend &lt;nick.townsend@mac.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: various spelling fixes</title>
<updated>2013-04-12T19:00:52Z</updated>
<author>
<name>Stefano Lattarini</name>
<email>stefano.lattarini@gmail.com</email>
</author>
<published>2013-04-11T22:36:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e1c3bf496f494e60e781c8dd0ec3d799ea48722c'/>
<id>urn:sha1:e1c3bf496f494e60e781c8dd0ec3d799ea48722c</id>
<content type='text'>
Most of these were found using Lucas De Marchi's codespell tool.

Signed-off-by: Stefano Lattarini &lt;stefano.lattarini@gmail.com&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>add technical documentation about ref iteration</title>
<updated>2011-08-22T22:01:14Z</updated>
<author>
<name>Heiko Voigt</name>
<email>hvoigt@hvoigt.net</email>
</author>
<published>2011-08-22T20:36:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1be9d84b2ed18c2b2e2d6a459d2b6d48d5ab86e5'/>
<id>urn:sha1:1be9d84b2ed18c2b2e2d6a459d2b6d48d5ab86e5</id>
<content type='text'>
Signed-off-by: Heiko Voigt &lt;hvoigt@hvoigt.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
