From: Erik Faye-Lund <kusmabite@gmail.com>
To: Jeff King <peff@peff.net>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: [BUG] format-patch does not wrap From-field after author name
Date: Thu, 14 Apr 2011 23:07:41 +0200 [thread overview]
Message-ID: <BANLkTi=Oq_jNYb+CSa9nwtoWtEdbF_QcgA@mail.gmail.com> (raw)
In-Reply-To: <20110414175212.GB23342@sigill.intra.peff.net>
On Thu, Apr 14, 2011 at 7:52 PM, Jeff King <peff@peff.net> wrote:
> On Thu, Apr 14, 2011 at 07:01:41PM +0200, Erik Faye-Lund wrote:
>
>> diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh
>> index 9c66367..a4b8b59 100755
>> --- a/t/t4014-format-patch.sh
>> +++ b/t/t4014-format-patch.sh
>> @@ -793,4 +793,19 @@ test_expect_success 'format-patch wraps extremely
>> long headers (rfc2047)' '
>
> Speaking of wrapping, your MUA seems to have mangled the patch.
>
Hehe, yes. How ironic :)
What can I say, silly GMail? :P
>> +M8="foo_bar_"
>> +M64=$M8$M8$M8$M8$M8$M8$M8$M8
>> +cat >expect <<'EOF'
>> +From: foo_bar_foo_bar_foo_bar_foo_bar_foo_bar_foo_bar_foo_bar_foo_bar
>> + <foobar@foo.bar>
>> +EOF
>
> Your expect data is missing the trailing "_". You could probably just
> do:
>
> cat >expect <<EOF
> From: $M64
> <foobar@foo.bar>
> EOF
>
> which is even simpler.
>
Yes. Much better, thanks.
prev parent reply other threads:[~2011-04-14 21:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-14 17:01 [BUG] format-patch does not wrap From-field after author name Erik Faye-Lund
2011-04-14 17:12 ` Junio C Hamano
2011-04-14 17:50 ` Jeff King
2011-04-14 21:19 ` Erik Faye-Lund
2011-04-14 21:42 ` Jeff King
2011-04-14 22:18 ` Jeff King
2011-04-14 22:21 ` Erik Faye-Lund
2011-04-14 22:29 ` Jeff King
2011-04-14 22:43 ` Erik Faye-Lund
2011-04-15 3:30 ` Jeff King
2011-04-15 8:32 ` Erik Faye-Lund
2011-04-16 1:45 ` Jeff King
2011-04-14 17:52 ` Jeff King
2011-04-14 21:06 ` Erik Faye-Lund
2011-04-14 21:07 ` Erik Faye-Lund [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTi=Oq_jNYb+CSa9nwtoWtEdbF_QcgA@mail.gmail.com' \
--to=kusmabite@gmail.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).