git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] guilt: fix date parsing

From
JSJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Date
May 22, 2013, 13:31 UTC
Message-ID
<20130522133120.GA13731@poseidon.cudanet.local>
In-Reply-To
<20130522121010.GA2777@thunk.org>
On Wed, May 22, 2013 at 08:10:10AM -0400, Theodore Ts'o wrote:
Show 18 quoted lines
> 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
Previous: Theodore Ts'o
Message 4 of 4 in “guilt: fix date parsing”
  1. guilt: fix date parsingTheodore Ts'o, May 22, 2013
  2. Josef 'Jeff' SipekMay 22, 2013
  3. Theodore Ts'oMay 22, 2013
  4. Josef 'Jeff' SipekMay 22, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.