<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/technical/api-ref-iteration.txt, branch v2.23.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.23.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.23.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2019-08-05T17:05:24Z</updated>
<entry>
<title>doc: typo: s/can not/cannot/ and s/is does/does/</title>
<updated>2019-08-05T17:05:24Z</updated>
<author>
<name>Mark Rushakoff</name>
<email>mark.rushakoff@gmail.com</email>
</author>
<published>2019-08-03T05:33:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6d16922798bbb87ddbc1ff1d23ba8ea65f4f6d3b'/>
<id>urn:sha1:6d16922798bbb87ddbc1ff1d23ba8ea65f4f6d3b</id>
<content type='text'>
"Can not" suggests one has the option to not do something, whereas
"cannot" more strongly suggests something is disallowed or impossible.

Noticed "can not", mistakenly used instead of "cannot" in git help
glossary, then ran git grep 'can not' and found many other instances.
Only files in the Documentation folder were modified.

'Can not' also occurs in some source code comments and some test
assertion messages, and there is an error message and translation "can
not move directory into itself" which I may fix and submit separately
from the documentation change.

Also noticed and fixed "is does" in git help fetch, but there are no
other occurrences of that typo according to git grep.

Signed-off-by: Mark Rushakoff &lt;mark.rushakoff@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs: remove dead for_each_*_submodule()</title>
<updated>2017-08-24T21:56:28Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2017-08-23T12:36:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=419221c1065981311b1a0f4a469d4d8a9ea09f54'/>
<id>urn:sha1:419221c1065981311b1a0f4a469d4d8a9ea09f54</id>
<content type='text'>
These are used in revision.c. After the last patch they are replaced
with the refs_ version. Delete them.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<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>
