Every time I want to take a subset of the patch, I have to write a script to retrieve only the indexes that I want.
eg. I have a patch that applies to the subdirectories 'yay' and 'foo'.
Is there a way to create a new patch or apply only a subset of the patch? those. create a new patch from an existing patch that accepts only all indices located in the "yay" subdirectory. Or all indexes that are not in the 'foo' subdirectory
If I have a patch (sorry below pseudo-patch):
Index : foo/bar
yada
yada
- asdf
+ jkl
yada
yada
Index : foo/bah
blah
blah
- 28
+ 29
blah
blah
blah
Index : yay/team
go
huskies
- happy happy
+ joy joy
cougars
suck
How can I extract or apply only the "yay" subdirectory, for example:
Index : yay/team
go
huskies
- happy happy
+ joy joy
cougars
suck
I know if I script before the solution, I will reinvent the wheel ...