All of lore.kernel.org
 help / color / mirror / Atom feed
* Sorry about the recent mess
@ 2011-01-31 21:58 Ulf Samuelsson
  2011-01-31 22:23 ` Petr Štetiar
  0 siblings, 1 reply; 3+ messages in thread
From: Ulf Samuelsson @ 2011-01-31 21:58 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Sorry about the recent mess
  2011-01-31 21:58 Sorry about the recent mess Ulf Samuelsson
@ 2011-01-31 22:23 ` Petr Štetiar
  2011-01-31 23:29   ` Ulf Samuelsson
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Štetiar @ 2011-01-31 22:23 UTC (permalink / raw)
  To: openembedded-devel

Ulf Samuelsson <ulf.samuelsson@atmel.com> [2011-01-31 22:58:19]:

> git format-patch -8 --start-at=16

Something like that? git format-patch HEAD~16..HEAD~8

-- ynezz



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Sorry about the recent mess
  2011-01-31 22:23 ` Petr Štetiar
@ 2011-01-31 23:29   ` Ulf Samuelsson
  0 siblings, 0 replies; 3+ messages in thread
From: Ulf Samuelsson @ 2011-01-31 23:29 UTC (permalink / raw)
  To: openembedded-devel

Petr Štetiar skrev:
> Ulf Samuelsson <ulf.samuelsson@atmel.com> [2011-01-31 22:58:19]:
> 
>> 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

> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-31 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-31 21:58 Sorry about the recent mess Ulf Samuelsson
2011-01-31 22:23 ` Petr Štetiar
2011-01-31 23:29   ` Ulf Samuelsson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.