Re: -p diff output and the 'Index:' line
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 30, 2005, 07:42 UTC
- Message-ID
- <7v7jhh6ty5.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20050529190305.GP1036@pasky.ji.cz>
>>>>> "PB" == Petr Baudis <pasky@ucw.cz> writes:
PB> It's just something along the lines of "Me Og. Og sees /^+/. Og makes PB> the line green." written in gawk (actually I'm not sure if pure awk PB> wouldn't do, but I actually don't know the language), so I don't think PB> the external diff thing would've helped me with that in any way.
Ah, I see. I thought you were talking about the Index: and separator lines. Colorizing diff/patch part, you need to parse the diff output with sed/awk/perl and annotate it anyway, and it does not matter if you annotate within GIT_EXTERNAL_DIFF or outside. I agree with you that using GIT_EXTERNAL_DIFF mechanism would not help you here.