<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/technical, branch v2.4.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.4.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.4.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-03-28T16:26:18Z</updated>
<entry>
<title>Merge branch 'jn/doc-api-errors'</title>
<updated>2015-03-28T16:26:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-28T16:26:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cf98c423b571e4afbd78fda3e65d03ed9bdd34fc'/>
<id>urn:sha1:cf98c423b571e4afbd78fda3e65d03ed9bdd34fc</id>
<content type='text'>
* jn/doc-api-errors:
  api-error-handling doc: typofix
</content>
</entry>
<entry>
<title>api-error-handling doc: typofix</title>
<updated>2015-03-28T16:24:55Z</updated>
<author>
<name>Thomas Ackermann</name>
<email>th.acker@arcor.de</email>
</author>
<published>2015-03-26T20:29:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=39d5bef5c1ceb82845af50a513660f24c77e3ce0'/>
<id>urn:sha1:39d5bef5c1ceb82845af50a513660f24c77e3ce0</id>
<content type='text'>
Signed-off-by: Thomas Ackermann &lt;th.acker@arcor.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/strbuf-doc-to-header'</title>
<updated>2015-02-25T23:40:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-02-25T23:40:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e2a318f796fa22f71051f48b712da3884cbc9374'/>
<id>urn:sha1:e2a318f796fa22f71051f48b712da3884cbc9374</id>
<content type='text'>
The strbuf API was explained between the API documentation and in
the header file.  Move missing bits to strbuf.h so that programmers
can check only one place for all necessary information.

* jk/strbuf-doc-to-header:
  strbuf.h: group documentation for trim functions
  strbuf.h: drop boilerplate descriptions of strbuf_split_*
  strbuf.h: reorganize api function grouping headers
  strbuf.h: format asciidoc code blocks as 4-space indent
  strbuf.h: drop asciidoc list formatting from API docs
  strbuf.h: unify documentation comments beginnings
  strbuf.h: integrate api-strbuf.txt documentation
</content>
</entry>
<entry>
<title>Merge branch 'jn/doc-api-errors'</title>
<updated>2015-02-25T23:40:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-02-25T23:40:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=32464d36bfeedb282321c0f20a84a2ce6878795c'/>
<id>urn:sha1:32464d36bfeedb282321c0f20a84a2ce6878795c</id>
<content type='text'>
The error handling functions and conventions are now documented in
the API manual.

* jn/doc-api-errors:
  doc: document error handling functions and conventions
</content>
</entry>
<entry>
<title>Merge branch 'sb/atomic-push'</title>
<updated>2015-02-11T21:43:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-02-11T21:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=39fa6112ec8492f9300765e1f71e7c8ecfafc713'/>
<id>urn:sha1:39fa6112ec8492f9300765e1f71e7c8ecfafc713</id>
<content type='text'>
"git push" has been taught a "--atomic" option that makes push to
update more than one ref an "all-or-none" affair.

* sb/atomic-push:
  Document receive.advertiseatomic
  t5543-atomic-push.sh: add basic tests for atomic pushes
  push.c: add an --atomic argument
  send-pack.c: add --atomic command line argument
  send-pack: rename ref_update_to_be_sent to check_to_send_update
  receive-pack.c: negotiate atomic push support
  receive-pack.c: add execute_commands_atomic function
  receive-pack.c: move transaction handling in a central place
  receive-pack.c: move iterating over all commands outside execute_commands
  receive-pack.c: die instead of error in case of possible future bug
  receive-pack.c: shorten the execute_commands loop over all commands
</content>
</entry>
<entry>
<title>strbuf.h: integrate api-strbuf.txt documentation</title>
<updated>2015-01-16T22:40:46Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2015-01-16T09:04:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bdfdaa4978dd92992737e662f25adc01d32d0774'/>
<id>urn:sha1:bdfdaa4978dd92992737e662f25adc01d32d0774</id>
<content type='text'>
Some of strbuf is documented as comments above functions,
and some is separate in Documentation/technical/api-strbuf.txt.
This makes it annoying to find the appropriate documentation.
We'd rather have it all in one place, which means all in the
text document, or all in the header.

Let's choose the header as that place. Even though the
formatting is not quite as pretty, this keeps the
documentation close to the related code.  The hope is that
this makes it easier to find what you want (human-readable
comments are right next to the C declarations), and easier
for writers to keep the documentation up to date.

This is more or less a straight import of the text from
api-strbuf.txt into C comments, complete with asciidoc
formatting. The exceptions are:

 1. All comments created in this way are started with "/**"
    to indicate they are part of the API documentation. This
    may help later with extracting the text to pretty-print
    it.

 2. Function descriptions do not repeat the function name,
    as it is available in the context directly below.  So:

      `strbuf_add`::

          Add data of given length to the buffer.

    from api-strbuf.txt becomes:

      /**
       * Add data of given length to the buffer.
       */
      void strbuf_add(struct strbuf *sb, const void *, size_t);

    As a result, any block-continuation required in asciidoc
    for that list item was dropped in favor of straight
    blank-line paragraph (since it is not necessary when we
    are not in a list item).

 3. There is minor re-wording to integrate existing comments
    and api-strbuf text. In each case, I took whichever
    version was more descriptive, and eliminated any
    redundancies. In one case, for strbuf_addstr, the api
    documentation gave its inline definition; I eliminated
    this as redundant with the actual definition, which can
    be seen directly below the comment.

 4. The functions in the header file are re-ordered to match
    the ordering of the API documentation, under the
    assumption that more thought went into the grouping
    there.

Helped-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>receive-pack.c: negotiate atomic push support</title>
<updated>2015-01-08T03:56:43Z</updated>
<author>
<name>Ronnie Sahlberg</name>
<email>sahlberg@google.com</email>
</author>
<published>2015-01-08T03:23:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1b70fe5d305462f1dd4b9d6233a2f4cb98e3a581'/>
<id>urn:sha1:1b70fe5d305462f1dd4b9d6233a2f4cb98e3a581</id>
<content type='text'>
This adds the atomic protocol option to allow
receive-pack to inform the client that it has
atomic push capability.

This commit makes the functionality introduced
in the previous commits go live for the serving
side. The changes in documentation reflect the
protocol capabilities of the server.

Signed-off-by: Stefan Beller &lt;sbeller@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/split-index'</title>
<updated>2014-12-22T20:28:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-12-22T20:28:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=63903d0e4ec4e2895f2ce67980c89017fd62761d'/>
<id>urn:sha1:63903d0e4ec4e2895f2ce67980c89017fd62761d</id>
<content type='text'>
A typofix to the documentation of a feature already in the release.

* nd/split-index:
  index-format.txt: add a missing closing quote
</content>
</entry>
<entry>
<title>Merge branch 'jk/credential-quit'</title>
<updated>2014-12-22T20:27:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-12-22T20:27:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=86362f7205a31188846de0aed94620c1f0776931'/>
<id>urn:sha1:86362f7205a31188846de0aed94620c1f0776931</id>
<content type='text'>
Credential helpers are asked in turn until one of them give
positive response, which is cumbersome to turn off when you need to
run Git in an automated setting.  The credential helper interface
learned to allow a helper to say "stop, don't ask other helpers."
Also GIT_TERMINAL_PROMPT environment can be set to false to disable
our built-in prompt mechanism for passwords.

* jk/credential-quit:
  prompt: respect GIT_TERMINAL_PROMPT to disable terminal prompts
  credential: let helpers tell us to quit
</content>
</entry>
<entry>
<title>index-format.txt: add a missing closing quote</title>
<updated>2014-12-11T22:24:37Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2014-12-08T13:42:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f2667a83304a9fa4910240b64f9d3b1c640e6743'/>
<id>urn:sha1:f2667a83304a9fa4910240b64f9d3b1c640e6743</id>
<content type='text'>
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>
</feed>
