From: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
To: Theodore Ts'o <tytso@mit.edu>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] guilt: fix date parsing
Date: Wed, 22 May 2013 09:31:20 -0400 [thread overview]
Message-ID: <20130522133120.GA13731@poseidon.cudanet.local> (raw)
In-Reply-To: <20130522121010.GA2777@thunk.org>
On Wed, May 22, 2013 at 08:10:10AM -0400, Theodore Ts'o wrote:
> On Tue, May 21, 2013 at 11:39:21PM -0400, Josef 'Jeff' Sipek wrote:
> > I applied this one and the "guilt: skip empty line after..." patch.
>
> Thanks! BTW, it looks like you are not using "git am -s" to apply
> these patches? The reason why I ask is that whatever you're using
> isn't removing the [XXX] subject prefix (e.g., [PATCH] or [PATCH -v2]
> which is useful for mailing lists, but less useful in the git commit
> descriptions.
>
> If you're using guilt, do you have some script that preformats a Unix
> mbox into guilt-friendly files? If so, maybe it would be good to
> modify it to strip out the [PATCH] annotations. If not, let me know,
> since I've been thinking about writing a script to take a Unix mbox,
> and bursts it into a separate patch-per-file with a series file
> suitable for use by guilt, removing mail headers and doing other
> appropriate pre-parsing --- basically, a "guilt am" which works much
> like "git am". But if someone else has done this already, no point
> duplicating effort. :-)
You are correct. I just `guilt import -P blah /tmp/mdir/cur/X` and then
hand-edit the patch to remove headers. Last night I was thinking about
making a `guilt import-mbox` that'd import a mbox or maildir. I don't know
off the top of my head how much `git am` would help in this instance.
Feel free to make the import-mbox or whatever command :)
Jeff.
--
Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former.
- Albert Einstein
prev parent reply other threads:[~2013-05-22 13:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-22 3:13 [PATCH] guilt: fix date parsing Theodore Ts'o
2013-05-22 3:39 ` Josef 'Jeff' Sipek
2013-05-22 12:10 ` Theodore Ts'o
2013-05-22 13:31 ` Josef 'Jeff' Sipek [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=20130522133120.GA13731@poseidon.cudanet.local \
--to=jeffpc@josefsipek.net \
--cc=git@vger.kernel.org \
--cc=tytso@mit.edu \
/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).