From: Ryan Anderson <ryan@michonline.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Linus Torvalds <torvalds@osdl.org>,
Junio C Hamano <junkio@cox.net>,
Git Mailing List <git@vger.kernel.org>
Subject: Re: git-applymbox broken?
Date: Mon, 12 Jun 2006 20:41:54 -0700 [thread overview]
Message-ID: <20060613034153.GU32457@h4x0r5.com> (raw)
In-Reply-To: <m1wtbn468o.fsf@ebiederm.dsl.xmission.com>
On Sun, Jun 11, 2006 at 05:33:59PM -0600, Eric W. Biederman wrote:
> Linus Torvalds <torvalds@osdl.org> writes:
>
> > It looks like something has broken git-applymbox lately.
> >
> > The "From: authorname" lines are no longer removed from the message, and
> > are duplicated in the commit log. This has resulted in several recent
> > kernel commits looking like this:
>
> Agreed. That isn't terribly desirable.
> Do you have the original email message some place?
>
> There is an odd case where if someone put the From: header
> in the middle of the text that we now notice and process and I
> didn't feel right about removing a line from the middle of the
> text.
>
> I was fixing a nasty corner case that happens if there aren't any
> mail headers at all passed to git-mailinfo. Where we could drop
> lines without processing them at all.
>
> This doesn't look like the From: header was in the middle of the
> message until it was imported into git so it is probably a small
> logic error that is easily corrected. But I need to see what
> we are parsing so I can understand what is happening.
I hate to say this, because I'm bad about it, too, but we should
probably have a few tests for applymbox, to cover the various scenarios
discussed in this thread.
--
Ryan Anderson
sometimes Pug Majere
prev parent reply other threads:[~2006-06-13 3:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-11 22:40 git-applymbox broken? Linus Torvalds
2006-06-11 23:33 ` Eric W. Biederman
2006-06-12 0:37 ` Linus Torvalds
2006-06-12 7:35 ` Eric W. Biederman
2006-06-12 18:45 ` [PATCH] Ignore blank lines among this inbody headers Eric W. Biederman
2006-06-12 19:29 ` Eric W. Biederman
2006-06-12 18:58 ` git-applymbox broken? Eric W. Biederman
2006-06-12 19:10 ` Linus Torvalds
2006-06-12 19:48 ` [PATCH] Don't parse any headers in the real body of an email message Eric W. Biederman
2006-06-12 20:10 ` git-applymbox broken? Eric W. Biederman
2006-06-12 22:43 ` Johannes Schindelin
2006-06-12 23:54 ` Randy.Dunlap
2006-06-13 3:41 ` Ryan Anderson [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=20060613034153.GU32457@h4x0r5.com \
--to=ryan@michonline.com \
--cc=ebiederm@xmission.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=torvalds@osdl.org \
/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).