Re: [PATCH 0/2] StGit patch series import
On Mon, May 25, 2009 at 12:28 AM, Sverre Rabbelier <srabbelier@gmail.com> wrote:
Show 11 quoted lines
> Heya,
>
> On Mon, May 25, 2009 at 00:18, Giuseppe Bilotta
> <giuseppe.bilotta@gmail.com> wrote:
>> Sorry, that's totally not the idea was trying to convey. In fact, just
>> after sending the email I went back to the code to look for a better
>> solution (I should have probably also made the first try a RFC).
>
> Perhaps a more elegant solution is a script that munges a hg/stgit/svn
> patch into a mailbox format before feeding it to git-am? 'git munge'
> is free :D
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--
Giuseppe "Oblomov" Bilotta