patch(1) and git -M output (Re: [PATCH 2/2] FRV: Move toarch/frv/include/asm/)

From: Al Viro
Date: Thu Apr 09 2009 - 14:28:36 EST


On Thu, Apr 09, 2009 at 07:13:29PM +0100, Al Viro wrote:

> We can teach patch(1) to handle those - apparently agruen has resurrected
> development lately (git://git.savannah.gnu.org/patch.git), so it might
> be possible without usual latency problems...

>From the quick look it appears that src/pch.c::intuit_diff_type() is the
place where it could be done, with inname and outfile set according to
rename from/rename to lines. Might need some flag to make the damn thing
reset outfile when we are done with this one; hopefully, the next call
of intuit_diff_type() wouldn't be too late for that, but that's just from
a very cursory reading of the code.

Andreas, do you have anything of that kind queued? If not, I'll probably
take a stab at that (handling git -M output, that is).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/