<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-send-email.perl, branch v2.22.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.22.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.22.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2019-04-25T07:41:25Z</updated>
<entry>
<title>Merge branch 'bs/sendemail-tighten-anything-by'</title>
<updated>2019-04-25T07:41:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-04-25T07:41:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=061ed420ec2dc97e2a922a6f02992869089cefb3'/>
<id>urn:sha1:061ed420ec2dc97e2a922a6f02992869089cefb3</id>
<content type='text'>
The recently added feature to add addresses that are on
anything-by: trailers in 'git send-email' was found to be way too
eager and considered nonsense strings as if they can be legitimate
beginning of *-by: trailer.  This has been tightened.

* bs/sendemail-tighten-anything-by:
  send-email: don't cc *-by lines with '-' prefix
</content>
</entry>
<entry>
<title>Merge branch 'bc/send-email-qp-cr'</title>
<updated>2019-04-25T07:41:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-04-25T07:41:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5983ddc165221c3ec2a4299b65cfb2ecc1ce7765'/>
<id>urn:sha1:5983ddc165221c3ec2a4299b65cfb2ecc1ce7765</id>
<content type='text'>
"git send-email" has been taught to use quoted-printable when the
payload contains carriage-return.  The use of the mechanism is in
line with the design originally added the codepath that chooses QP
when the payload has overly long lines.

* bc/send-email-qp-cr:
  send-email: default to quoted-printable when CR is present
</content>
</entry>
<entry>
<title>send-email: default to quoted-printable when CR is present</title>
<updated>2019-04-14T02:47:03Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2019-04-13T22:45:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=74d76a17013411d72ebda7c230b9898f3adb1fcc'/>
<id>urn:sha1:74d76a17013411d72ebda7c230b9898f3adb1fcc</id>
<content type='text'>
In 7a36987fff ("send-email: add an auto option for transfer encoding",
2018-07-08), git send-email learned how to automatically determine the
transfer encoding for a patch. However, the only criterion considered
was the length of the lines.

Another case we need to consider is that of carriage returns. Because
emails have CRLF endings when canonicalized, we don't want to write raw
carriage returns into a patch, lest they be stripped off as an artifact
of the transport. Ensure that we choose quoted-printable encoding if the
patch we're sending contains carriage returns.

Note that we are guaranteed to always correctly encode carriage returns
when writing quoted-printable since we explicitly specify the line
ending as "\n", forcing MIME::QuotedPrint to encode our carriage return
as "=0D".

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>send-email: don't cc *-by lines with '-' prefix</title>
<updated>2019-04-04T09:50:03Z</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2019-03-16T19:26:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9c545816befc7b38e7347beb85fab64840bd0a8f'/>
<id>urn:sha1:9c545816befc7b38e7347beb85fab64840bd0a8f</id>
<content type='text'>
Since commit ef0cc1df90f6b ("send-email: also pick up cc addresses from
-by trailers") in git version 2.20, git send-email adds to cc list
addresses from all *-by lines. As a side effect a line with
'-Signed-off-by' is now also added to cc. This makes send-email pick
lines from patches that remove patch files from the git repo. This is
common in the Buildroot project that often removes (and adds) patch
files that have 'Signed-off-by' in their patch description part.

Consider only *-by lines that start with [a-z] (case insensitive) to
avoid unrelated addresses in cc.

Cc: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Acked-by: Rasmus Villemoes &lt;rv@rasmusvillemoes.dk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>completion: add more parameter value completion</title>
<updated>2019-02-20T20:31:56Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-02-16T11:24:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5a59a2301f6ec9bcf1b101edb9ca33beb465842f'/>
<id>urn:sha1:5a59a2301f6ec9bcf1b101edb9ca33beb465842f</id>
<content type='text'>
This adds value completion for a couple more paramters. To make it
easier to maintain these hard coded lists, add a comment at the original
list/code to remind people to update git-completion.bash too.

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>Merge branch 'nd/complete-format-patch'</title>
<updated>2018-11-13T13:37:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-13T13:37:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=95182c65d844e799e80a8f8997e357cdf8a3c7a6'/>
<id>urn:sha1:95182c65d844e799e80a8f8997e357cdf8a3c7a6</id>
<content type='text'>
The support for format-patch (and send-email) by the command-line
completion script (in contrib/) has been simplified a bit.

* nd/complete-format-patch:
  completion: use __gitcomp_builtin for format-patch
</content>
</entry>
<entry>
<title>Merge branch 'al/send-email-auto-cte-fixup'</title>
<updated>2018-11-13T13:37:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-13T13:37:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2281aa872154af4cc10a05b09c79a1d41169111d'/>
<id>urn:sha1:2281aa872154af4cc10a05b09c79a1d41169111d</id>
<content type='text'>
"git send-email --transfer-encoding=..." in recent versions of Git
sometimes produced an empty "Content-Transfer-Encoding:" header,
which has been corrected.

* al/send-email-auto-cte-fixup:
  send-email: avoid empty transfer encoding header
</content>
</entry>
<entry>
<title>Merge branch 'jw/send-email-no-auth'</title>
<updated>2018-11-06T06:50:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-06T06:50:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8ac6990b8712cb7c44dfc4ff8d9e99b5ec55b01d'/>
<id>urn:sha1:8ac6990b8712cb7c44dfc4ff8d9e99b5ec55b01d</id>
<content type='text'>
"git send-email" learned to disable SMTP authentication via the
"--smtp-auth=none" option, even when the smtp username is given
(which turns the authentication on by default).

* jw/send-email-no-auth:
  send-email: explicitly disable authentication
</content>
</entry>
<entry>
<title>completion: use __gitcomp_builtin for format-patch</title>
<updated>2018-11-06T04:22:30Z</updated>
<author>
<name>Duy Nguyen</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-11-03T06:03:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=13374987dd889858758afef458bd8a8cbf15bb4d'/>
<id>urn:sha1:13374987dd889858758afef458bd8a8cbf15bb4d</id>
<content type='text'>
This helps format-patch gain completion for a couple new options,
notably --range-diff.

Since send-email completion relies on $__git_format_patch_options
which is now reduced, we need to do something not to regress
send-email completion.

The workaround here is implement --git-completion-helper in
send-email.perl just as a bridge to "format-patch --git-completion-helper".
This is enough to use __gitcomp_builtin on send-email (to take
advantage of caching).

In the end, send-email.perl can probably reuse the same info it passes
to GetOptions() to generate full --git-completion-helper output so
that we don't need to keep track of its options in git-completion.bash
anymore. But that's something for another boring day.

Helped-by: Denton Liu &lt;liu.denton@gmail.com&gt;
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>send-email: avoid empty transfer encoding header</title>
<updated>2018-11-02T14:59:53Z</updated>
<author>
<name>Aaron Lindsay</name>
<email>aaron@aclindsay.com</email>
</author>
<published>2018-11-02T09:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3c88e46f1a4328f594cbdcd6109034d9fb9a1b56'/>
<id>urn:sha1:3c88e46f1a4328f594cbdcd6109034d9fb9a1b56</id>
<content type='text'>
Fix a small bug introduced by "7a36987ff (send-email: add an auto option
for transfer encoding, 2018-07-14)".

I saw the following message when setting --transfer-encoding for a file
with the same encoding:

    $ git send-email --transfer-encoding=8bit example.patch
    Use of uninitialized value $xfer_encoding in concatenation (.) or string
    at /usr/lib/git-core/git-send-email line 1744.

The new tests are by brian m. carlson.

Signed-off-by: Aaron Lindsay &lt;aaron@aclindsay.com&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>
</feed>
