Re: [PATCH 3/5] refactor userdiff textconv code
- From
Jeff King <peff@peff.net>
- Date
- Oct 25, 2008, 00:48 UTC
- Message-ID
- <20081025004815.GA23851@coredump.intra.peff.net>
- In-Reply-To
- <20081024225605.GA16774@coredump.intra.peff.net>
On Fri, Oct 24, 2008 at 06:56:05PM -0400, Jeff King wrote:
Show 6 quoted lines
> Ah, I see. It looks like we would have to munge fill_blob_sha1 in > builtin-blame.c. In which case totally splitting this out from > diff_filespec is even better, since we don't have one there. > > So let me try to re-roll my series based on your suggestion, and then > I'll see if I can add "blame --textconv" on top.
Actually, the blame thing is a little trickier than that. The textconv stuff is still tied to a diff_filespec because it uses the diff prepare_temp_file interface. So I will have to work around that if I want to add blame support.
However, I re-did the existing patches according to your suggestions, and I think the result is pretty reasonable. Six patches to follow.
-Peff