Re: How to remove a specific hunk
On Oct 26, 2007, at 5:38 PM, Pascal Obry wrote:
Show 13 quoted lines
> Andreas,
>
>> Once you've added the other two hunks, they'll no longer show up in
>> git-diff, so you can do something like this:
>>
>> $ git-add -i; # add the other two hunks to commit
>> $ git-diff > middle-hunk.patch
>> $ git-apply -R middle-hunk.patch
>> test, test, test
>> $ git-apply middle-hunk.patch
>
> Thanks, this will clearly work. I was expecting something more
> integrated like a "git reset --interactive" or something like that :)
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory