[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to edit/modify patches using emacs?
From: |
Miles Bader |
Subject: |
Re: How to edit/modify patches using emacs? |
Date: |
Mon, 09 May 2005 08:38:16 +0900 |
Micha Feigin <michf@post.tau.ac.il> writes:
>> [A common reason to edit a patch is because it _won't_ apply otherwise:
>> you basically look at the patch to see why doesn't match the source,
>> edit the patch to test your guess, and if it then applies cleanly,
>> you've got a nice record in the edited patch.]
>
> In such cases I just prefer to apply the patch and fix the rejects, gives you
> a
> better overall view.
But that's the whole point -- certain hunks won't apply until you either
fix them to apply or fix the source so it can be "applied to"; I prefer
the former because it's generally easier to maintain a record of what
changed.
-Miles
--
`Life is a boundless sea of bitterness'