Re: [PATCH 0/2] StGit patch series import
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- May 24, 2009, 22:57 UTC
- Message-ID
- <fabb9a1e0905241557l403037f6p7c1df1f587cb9cf7@mail.gmail.com>
- In-Reply-To
- <cb7bb73a0905241553i2cf2c246ycd0b5466e60c8de8@mail.gmail.com>
Heya,
On Mon, May 25, 2009 at 00:53, Giuseppe Bilotta <giuseppe.bilotta@gmail.com> wrote:
Show 6 quoted lines
> This is an interesting solution. And git-am could call git-munge > automatically before feeding the patches to mailinfo, replacing > git mailinfo $keep $utf8 "$dotest/msg" "$dotest/patch" \ > <"$dotest/$msgnum" >"$dotest/info" > with > git munge "$dotest/$msgnum" | git mailinfo etc
I was thinking the other way around, so that 'git am' doesn't need to be modified.
Behind the scenes, git munge "$dotest/$msgnum" does something like: 1. munge the file so that it's in the appropriate format 2. dispatch to 'git am' with the munged file 3. profit
-- Cheers, Sverre Rabbelier