<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-send-email.perl, branch v2.10.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.10.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.10.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-07-11T17:31:04Z</updated>
<entry>
<title>Merge branch 'jc/send-email-skip-backup'</title>
<updated>2016-07-11T17:31:04Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-11T17:31:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=89b8710fce0d1b3d99c0a1c218bacb82ff0811e4'/>
<id>urn:sha1:89b8710fce0d1b3d99c0a1c218bacb82ff0811e4</id>
<content type='text'>
A careless invocation of "git send-email directory/" after editing
0001-change.patch with an editor often ends up sending both
0001-change.patch and its backup file, 0001-change.patch~, causing
embarrassment and a minor confusion.  Detect such an input and
offer to skip the backup files when sending the patches out.

* jc/send-email-skip-backup:
  send-email: detect and offer to skip backup files
</content>
</entry>
<entry>
<title>Merge branch 'jd/send-email-to-whom'</title>
<updated>2016-05-03T21:08:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-05-03T21:08:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9b782d297c141cc45973c8b455cc93495d86b277'/>
<id>urn:sha1:9b782d297c141cc45973c8b455cc93495d86b277</id>
<content type='text'>
A question by "git send-email" to ask the identity of the sender
has been updated.

* jd/send-email-to-whom:
  send-email: fix grammo in the prompt that asks e-mail recipients
</content>
</entry>
<entry>
<title>send-email: fix grammo in the prompt that asks e-mail recipients</title>
<updated>2016-04-25T20:35:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-04-24T19:31:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0d6b21e781be54423e85e3968178a74bb8b90969'/>
<id>urn:sha1:0d6b21e781be54423e85e3968178a74bb8b90969</id>
<content type='text'>
The message, which dates back to the very original version 83b24437
made in 2005, sounds clumsy, grammatically incorrect, and is hard to
understand.

Reported-by: John Darrington &lt;john@darrington.wattle.id.au&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ew/send-email-drop-data-dumper'</title>
<updated>2016-04-22T22:45:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-04-22T22:45:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=56b5a915e9ec5bc27c05dc7babfc601f46803d1c'/>
<id>urn:sha1:56b5a915e9ec5bc27c05dc7babfc601f46803d1c</id>
<content type='text'>
Code clean-up.

* ew/send-email-drop-data-dumper:
  send-email: do not load Data::Dumper
</content>
</entry>
<entry>
<title>Merge branch 'ew/send-email-readable-message-id'</title>
<updated>2016-04-22T22:45:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-04-22T22:45:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=18dff3dde5c7f05b87d54047569eb4a7f369367a'/>
<id>urn:sha1:18dff3dde5c7f05b87d54047569eb4a7f369367a</id>
<content type='text'>
"git send-email" now uses a more readable timestamps when
formulating a message ID.

* ew/send-email-readable-message-id:
  send-email: more meaningful Message-ID
</content>
</entry>
<entry>
<title>send-email: detect and offer to skip backup files</title>
<updated>2016-04-13T01:45:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-03-18T05:40:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=531220ba500168bc5a2080df24dfd61705cafa3c'/>
<id>urn:sha1:531220ba500168bc5a2080df24dfd61705cafa3c</id>
<content type='text'>
Diligent people save output from format-patch to files, proofread
and edit them and then finally send the result out.  If the
resulting files are sent out with "git send-email 0*", this ends up
sending backup files (e.g. 0001-X.patch.backup or 0001-X.patch~)
left by their editors next to the final version.  Sending them with
"git send-email 0*.patch" (if format-patch was run with the standard
suffix) would avoid such an embarrassment, but not everybody is
careful.

After collecting files to be sent (and sorting them if read from a
directory), notice when the file being sent out has the same name as
the previous file, plus some suffix (e.g. 0001-X.patch was sent, and
we are looking at 0001-X.patch.backup or 0001-X.patch~), and the
suffix begins with a non-alnum (e.g. ".backup" or "~") and ask if
the user really wants to send it out.  Once the user skips sending
such a "backup" file, remember the suffix and stop asking the same
question (e.g. after skipping 0001-X.patch~, skip 0002-Y.patch~
without asking).

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>send-email: do not load Data::Dumper</title>
<updated>2016-04-06T20:40:01Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2016-04-06T20:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ef8c95e985c348af0de5814fbe230b6967a4136e'/>
<id>urn:sha1:ef8c95e985c348af0de5814fbe230b6967a4136e</id>
<content type='text'>
We never used Data::Dumper in this script.  The only reference
of it was always commented out and removed over a decade ago in
commit 4bc87a28be020a6bf7387161c65ea3d8e4a0228b
("send-email: Change from Mail::Sendmail to Net::SMTP")

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>send-email: more meaningful Message-ID</title>
<updated>2016-04-06T20:16:09Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2016-04-06T20:07:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f916ab0ccc1fbeee5a63ec29246ba99df7ff256f'/>
<id>urn:sha1:f916ab0ccc1fbeee5a63ec29246ba99df7ff256f</id>
<content type='text'>
Using a YYYYmmddHHMMSS date representation is more meaningful to
humans, especially when used for lookups on NNTP servers or linking
to archive sites via Message-ID (e.g. mid.gmane.org or
mid.mail-archive.com).  This timestamp format more easily gives a
reader of the URL itself a rough date of a linked message compared
to having them calculate the seconds since the Unix epoch.

Furthermore, having the MUA name in the Message-ID seems to be a
rare oddity I haven't noticed outside of git-send-email.  We
already have an optional X-Mailer header field to advertise for
us, so extending the Message-ID by 15 characters can make for
unpleasant Message-ID-based URLs to archive sites.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>send-email: ignore trailing whitespace in mailrc alias file</title>
<updated>2016-03-18T21:47:10Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2016-03-17T23:58:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a277d1efa35ea47ac473ed7e3d92fc6f1c04da7d'/>
<id>urn:sha1:a277d1efa35ea47ac473ed7e3d92fc6f1c04da7d</id>
<content type='text'>
The regex for parsing mailrc considers everything after the
second whitespace to be the email address, up to the end of
the line. We have to include whitespace there, because you
may have multiple space-separated addresses, each with their
own internal quoting.

But if there is trailing whitespace, we include that, too.
This confuses quotewords() when we try to split the
individual addresses, and we end up storing "undef" in our
alias list. Later parts of the code then access that,
generating perl warnings.

Let's tweak our regex to throw away any trailing whitespace
on each line.

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>Merge branch 'ew/send-email-mutt-alias-fix' into maint</title>
<updated>2016-02-05T22:54:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-02-05T22:54:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=25b1166ab2d4cb1685ecc26a36c35756ed5e1d4d'/>
<id>urn:sha1:25b1166ab2d4cb1685ecc26a36c35756ed5e1d4d</id>
<content type='text'>
"git send-email" was confused by escaped quotes stored in the alias
files saved by "mutt", which has been corrected.

* ew/send-email-mutt-alias-fix:
  git-send-email: do not double-escape quotes from mutt
</content>
</entry>
</feed>
