From: Pete Zaitcev <zaitcev@redhat.com>
To: Eli Carter <eli.carter@inet.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [OT] patch splitting util(s)?
Date: Mon, 14 Apr 2003 20:47:33 -0400 [thread overview]
Message-ID: <200304150047.h3F0lXc22483@devserv.devel.redhat.com> (raw)
In-Reply-To: <mailman.1050360781.7083.linux-kernel2news@redhat.com>
>> > 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
next prev parent reply other threads:[~2003-04-15 0:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-14 21:46 [OT] patch splitting util(s)? Eli Carter
2003-04-14 21:51 ` Dave Jones
2003-04-14 22:26 ` Eli Carter
[not found] ` <mailman.1050360781.7083.linux-kernel2news@redhat.com>
2003-04-15 0:47 ` Pete Zaitcev [this message]
2003-04-15 15:22 ` Eli Carter
2003-04-15 20:10 ` Randy.Dunlap
2003-04-24 20:45 ` Pete Zaitcev
2003-04-24 22:05 ` Eli Carter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200304150047.h3F0lXc22483@devserv.devel.redhat.com \
--to=zaitcev@redhat.com \
--cc=eli.carter@inet.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).