Pete Zaitcev wrote:
>>Date: Tue, 15 Apr 2003 13:10:43 -0700
>>From: "Randy.Dunlap" <rddunlap@osdl.org>
>
>
>>| > 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.
>>
>>so when does this change show up at http://cyberelk.net/tim/patchutils/ ?
>
>
> Tim pointed out that the option is -a, not -s. It should be
> present in 0.2.22.
Almost. That does a per-file split, not a per-hunk split. And per-hunk
I have found makes splitting patches into their logical components
_much_ easier.
Thanks for the clarification though!
Eli
--------------------. "If it ain't broke now,
Eli Carter \ it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------
-
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/
This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:18 EST