Sorry about the recent mess
Realized that the sign-off was missing in first rev The I tried to generate the V2 with signoff, I had 16 patches committed in the tree, which I wanted to divide up into patchsets.
1: 1-8
2: 9
3: 10
4: 11-12
5: 13
6: 14
7: 15
8: 16
patch "1" beeing the first to be committed, and 16 the latest.
Since all files are committed, I have to do
git format-patch -16
move the first 8 files to a subdirectory
remove the rest
"sed" the PATCH line in all patches to replace n/16 with n/2 "sed" the PATCH line in all patches to replace PATCH with PATCH v2
git format patch -8
move the first file to a subdirectory
remove the rest
"sed" ...
until I created 8 subdirectories.
Anyone knows of a better way to let me extract patch 1-8 and have them numbered 1/8 .. 8/8 instead of n/16 ?
I guess I could revert/rebase and reapply the patches.
Then I have to feed in the comments again.
Would be nice to do have a switch to say I want 8 patches starting with patch 16 from the top.
git format-patch -8 --start-at=16
but I do not see such a possibility.
Any better idea?
BR
Ulf Samuelsson
Best Regards
Ulf Samuelsson
Ulf Samuelsson <[email protected]> [2011-01-31 22:58:19]:
Quoted 1 line
git format-patch -8 --start-at=16
Something like that? git format-patch HEAD~16..HEAD~8
-- ynezz
Petr Štetiar skrev:
Quoted 8 lines
Ulf Samuelsson <[email protected]> [2011-01-31 22:58:19]:
Quoted 1 line
git format-patch -8 --start-at=16
Something like that? git format-patch HEAD~16..HEAD~8
-- ynezz
Yes, that worked as a charm.
BR
Ulf
Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel