<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib, branch v2.14.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.14.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.14.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-07-17T21:54:53Z</updated>
<entry>
<title>add MOVE_ARRAY</title>
<updated>2017-07-17T21:54:53Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2017-07-15T19:36:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=578398071e45d296c3dc1de10acdbc15365e763f'/>
<id>urn:sha1:578398071e45d296c3dc1de10acdbc15365e763f</id>
<content type='text'>
Similar to COPY_ARRAY (introduced in 60566cbb58), add a safe and
convenient helper for moving potentially overlapping ranges of array
entries.  It infers the element size, multiplies automatically and
safely to get the size in bytes, does a basic type safety check by
comparing element sizes and unlike memmove(3) it supports NULL
pointers iff 0 elements are to be moved.

Also add a semantic patch to demonstrate the helper's intended usage.

Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rs/free-and-null'</title>
<updated>2017-07-10T20:42:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-07-10T20:42:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d73b46cfb5cd675e79ad61ba08e32b06d95f1a08'/>
<id>urn:sha1:d73b46cfb5cd675e79ad61ba08e32b06d95f1a08</id>
<content type='text'>
Code cleanup.

* rs/free-and-null:
  coccinelle: polish FREE_AND_NULL rules
</content>
</entry>
<entry>
<title>Merge branch 'xz/send-email-batch-size'</title>
<updated>2017-07-07T01:14:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-07-07T01:14:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eb37527ab0b6e9ff1cbd01aa20a4dd6aa4150a96'/>
<id>urn:sha1:eb37527ab0b6e9ff1cbd01aa20a4dd6aa4150a96</id>
<content type='text'>
"git send-email" learned to overcome some SMTP server limitation
that does not allow many pieces of e-mails to be sent over a single
session.

* xz/send-email-batch-size:
  send-email: --batch-size to work around some SMTP server limit
</content>
</entry>
<entry>
<title>Merge branch 'aw/contrib-subtree-doc-asciidoctor'</title>
<updated>2017-07-07T01:14:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-07-07T01:14:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=33cc9cfc3d0e55539a88b3ed90d310845d652197'/>
<id>urn:sha1:33cc9cfc3d0e55539a88b3ed90d310845d652197</id>
<content type='text'>
The Makefile rule in contrib/subtree for building documentation
learned to honour USE_ASCIIDOCTOR just like the main documentation
set does.

* aw/contrib-subtree-doc-asciidoctor:
  subtree: honour USE_ASCIIDOCTOR when set
</content>
</entry>
<entry>
<title>send-email: --batch-size to work around some SMTP server limit</title>
<updated>2017-07-05T16:09:45Z</updated>
<author>
<name>xiaoqiang zhao</name>
<email>zxq_yx_007@163.com</email>
</author>
<published>2017-05-21T12:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5453b83bdf92efbfe9e9aaa54d4c62ce48ced2f5'/>
<id>urn:sha1:5453b83bdf92efbfe9e9aaa54d4c62ce48ced2f5</id>
<content type='text'>
Some email servers (e.g. smtp.163.com) limit the number emails to be
sent per session (connection) and this will lead to a faliure when
sending many messages.

Teach send-email to disconnect after sending a number of messages
(configurable via the --batch-size=&lt;num&gt; option), wait for a few
seconds (configurable via the --relogin-delay=&lt;seconds&gt; option) and
reconnect, to work around such a limit.

Also add two configuration variables to give these options the default.

Note:

  We will use this as a band-aid for now, but in the longer term, we
  should look at and react to the SMTP error code from the server;
  Xianqiang reports that 450 and 451 are returned by problematic
  servers.

  cf. https://public-inbox.org/git/7993e188.d18d.15c3560bcaf.Coremail.zxq_yx_007@163.com/

Signed-off-by: xiaoqiang zhao &lt;zxq_yx_007@163.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>coccinelle: polish FREE_AND_NULL rules</title>
<updated>2017-06-29T17:46:16Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2017-06-25T08:01:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=76d8d45ffbc2cee911a66bdc5b6280a00da1a555'/>
<id>urn:sha1:76d8d45ffbc2cee911a66bdc5b6280a00da1a555</id>
<content type='text'>
There are two rules for using FREE_AND_NULL in free.cocci, one for
pointer types and one for expressions.  Both cause coccinelle to remove
empty lines and even newline characters between replacements for some
reason; consecutive "free(x);/x=NULL;" sequences end up as multiple
FREE_AND_NULL calls on the same time.

Remove the type rule, as the expression rule already covers it, and
rearrange the lines of the latter to place the addition of FREE_AND_NULL
between the removals, which causes coccinelle to leave surrounding
whitespace untouched.

Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>subtree: honour USE_ASCIIDOCTOR when set</title>
<updated>2017-06-28T04:01:27Z</updated>
<author>
<name>A. Wilcox</name>
<email>AWilcox@Wilcox-Tech.com</email>
</author>
<published>2017-06-28T02:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fdc1ad97c1fc31cb276a37c2e63ed88716b76269'/>
<id>urn:sha1:fdc1ad97c1fc31cb276a37c2e63ed88716b76269</id>
<content type='text'>
Defining USE_ASCIIDOCTOR=1 when building Git uses asciidoctor over
asciidoc when generating DocBook and man page documentation.  However,
the contrib/subtree module does not presently honour that flag.

This causes a build failure when asciidoc is not present on the build
system.  Instead, adapt the main Documentation/Makefile logic to use
asciidoctor when requested.

Signed-off-by: A. Wilcox &lt;AWilcox@Wilcox-Tech.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Spelling fixes</title>
<updated>2017-06-27T17:35:49Z</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2017-06-25T10:20:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=64127575149e35b409bc2f78962f86507346d604'/>
<id>urn:sha1:64127575149e35b409bc2f78962f86507346d604</id>
<content type='text'>
Signed-off-by: Ville Skyttä &lt;ville.skytta@iki.fi&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ab/free-and-null'</title>
<updated>2017-06-24T21:28:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-06-24T21:28:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=50f03c6676ed5ea040dd53272882d3aac2ee1b48'/>
<id>urn:sha1:50f03c6676ed5ea040dd53272882d3aac2ee1b48</id>
<content type='text'>
A common pattern to free a piece of memory and assign NULL to the
pointer that used to point at it has been replaced with a new
FREE_AND_NULL() macro.

* ab/free-and-null:
  *.[ch] refactoring: make use of the FREE_AND_NULL() macro
  coccinelle: make use of the "expression" FREE_AND_NULL() rule
  coccinelle: add a rule to make "expression" code use FREE_AND_NULL()
  coccinelle: make use of the "type" FREE_AND_NULL() rule
  coccinelle: add a rule to make "type" code use FREE_AND_NULL()
  git-compat-util: add a FREE_AND_NULL() wrapper around free(ptr); ptr = NULL
</content>
</entry>
<entry>
<title>Merge branch 'jk/diff-highlight-module'</title>
<updated>2017-06-24T21:28:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-06-24T21:28:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ef9402366ccf4a04348024d51c0d3897f8b868c9'/>
<id>urn:sha1:ef9402366ccf4a04348024d51c0d3897f8b868c9</id>
<content type='text'>
The 'diff-highlight' program (in contrib/) has been restructured
for easier reuse by an external project 'diff-so-fancy'.

* jk/diff-highlight-module:
  diff-highlight: split code into module
</content>
</entry>
</feed>
