lkml.org 
[lkml]   [2003]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [OT] patch splitting util(s)?
>>  > I didn't have much luck with googling.  I think the words I used are too 
>> > generic. :/
>>
>> Google for diffsplit. Its part of Tim Waugh's patchutils.
>> Patchutils should be part of pretty much every distro these days too.
>
> I'm aware of patchutils. (Check the 0.2.22 Changelog ;) ) However,
> splitdiff doesn't do what I'm after, from my initial look. Though now
> that I think about it, it suggests an alternative solution. A
> 'shatterdiff' that created one diff file per hunk in a patch would give
> me basically what I want.

I moaned at Tim until he caved in and added an '-s' option
couple of weeks ago. It should be in a fresh rawhide srpm.

Mind, you can do what you want even now, with -n (for line numbers)
and a little bit of sh or perl, but all concievable solutions
require several passes over the diff, which gets tiresome
if you diff 2.4.9 (RH 7.2) and 2.4.18 (RH 8.0). The -s option
does it in one pass.

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.996 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site