<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/technical/api-strbuf.txt, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-03-04T05:43:19Z</updated>
<entry>
<title>Documentation: Typo / spelling / formatting fixes</title>
<updated>2009-03-04T05:43:19Z</updated>
<author>
<name>Mike Ralphson</name>
<email>mike@abacus.co.uk</email>
</author>
<published>2009-03-03T19:29:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a1070d4cbbf1002cc0b01afc3de06382deb0511a'/>
<id>urn:sha1:a1070d4cbbf1002cc0b01afc3de06382deb0511a</id>
<content type='text'>
Signed-off-by: Mike Ralphson &lt;mike@abacus.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2009-02-04T08:12:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-02-04T08:12:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b63bc0bc3152ca42ba1c9fa9bed73da061beeca2'/>
<id>urn:sha1:b63bc0bc3152ca42ba1c9fa9bed73da061beeca2</id>
<content type='text'>
* maint:
  User-manual: "git stash &lt;comment&gt;" form is long gone
  add test-dump-cache-tree in Makefile
  fix typo in Documentation
  apply: fix access to an uninitialized mode variable, found by valgrind

Conflicts:
	Makefile
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.6.0' into maint</title>
<updated>2009-02-04T07:50:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-02-04T07:50:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f0817310903312bbc243dd80f066e17a8e0e4b1d'/>
<id>urn:sha1:f0817310903312bbc243dd80f066e17a8e0e4b1d</id>
<content type='text'>
* maint-1.6.0:
  User-manual: "git stash &lt;comment&gt;" form is long gone
  add test-dump-cache-tree in Makefile
  fix typo in Documentation
  apply: fix access to an uninitialized mode variable, found by valgrind
</content>
</entry>
<entry>
<title>fix typo in Documentation</title>
<updated>2009-02-04T06:09:03Z</updated>
<author>
<name>Guanqun Lu</name>
<email>guanqun.lu@gmail.com</email>
</author>
<published>2009-02-04T21:00:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c9a8abcf9a9997d463a6a05668fd9a90a26df1f2'/>
<id>urn:sha1:c9a8abcf9a9997d463a6a05668fd9a90a26df1f2</id>
<content type='text'>
Signed-off-by: Guanqun Lu &lt;guanqun.lu@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>strbuf: instate cleanup rule in case of non-memory errors</title>
<updated>2009-01-07T06:13:43Z</updated>
<author>
<name>René Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2009-01-06T20:41:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2fc647004ac7016128372a85db8245581e493812'/>
<id>urn:sha1:2fc647004ac7016128372a85db8245581e493812</id>
<content type='text'>
Make all strbuf functions that can fail free() their memory on error if
they have allocated it.  They don't shrink buffers that have been grown,
though.

This allows for easier error handling, as callers only need to call
strbuf_release() if A) the command succeeded or B) if they would have had
to do so anyway because they added something to the strbuf themselves.

Bonus hunk: document strbuf_readlink.

Signed-off-by: Rene Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>add strbuf_expand_dict_cb(), a helper for simple cases</title>
<updated>2008-11-24T03:55:47Z</updated>
<author>
<name>René Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2008-11-22T23:09:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9b864e730bda0e028a85387fa568429724582f22'/>
<id>urn:sha1:9b864e730bda0e028a85387fa568429724582f22</id>
<content type='text'>
The new callback function strbuf_expand_dict_cb() can be used together
with strbuf_expand() if there is only a small number of placeholders
for static replacement texts.  It expects its dictionary as an array of
placeholder+value pairs as context parameter, terminated by an entry
with the placeholder member set to NULL.

The new helper is intended to aid converting the remaining calls of
interpolate().  strbuf_expand() is smaller, more flexible and can be
used to go faster than interpolate(), so it should replace the latter.

Signed-off-by: Rene Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Strbuf documentation: document most functions</title>
<updated>2008-06-04T22:02:42Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@frugalware.org</email>
</author>
<published>2008-06-04T21:20:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dd613e6b8706f31c01aae622345dbaab3f276262'/>
<id>urn:sha1:dd613e6b8706f31c01aae622345dbaab3f276262</id>
<content type='text'>
All functions in strbuf.h are documented, except launch_editor().

Signed-off-by: Miklos Vajna &lt;vmiklos@frugalware.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Start preparing the API documents.</title>
<updated>2007-12-15T06:29:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-11-25T07:48:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=530e741c726a612d78de21957d531dd2215483b4'/>
<id>urn:sha1:530e741c726a612d78de21957d531dd2215483b4</id>
<content type='text'>
Most of them are still stubs, but the procedure to build the HTML
documentation, maintaining the index and installing the end product are
there.

I placed names of people who are likely to know the most about the topic
in the stub files, so that volunteers will know whom to ask questions as
needed.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
