public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: David Miller <davem@davemloft.net>
Cc: rostedt@goodmis.org, sam@ravnborg.org, mingo@elte.hu,
	linux-kernel@vger.kernel.org, nico@fluxnic.net,
	tony.luck@intel.com, sfr@canb.auug.org.au, mcgrof@gmail.com,
	jeff@garzik.org, robert.richter@amd.com,
	dmitry.torokhov@gmail.com, khali@linux-fr.org,
	torvalds@linux-foundation.org
Subject: Re: [RFC] to rebase or not to rebase on linux-next
Date: Tue, 27 Oct 2009 09:48:36 +0000	[thread overview]
Message-ID: <tnx4opl5frf.fsf@pc1117.cambridge.arm.com> (raw)
In-Reply-To: <20091026.171539.06989895.davem@davemloft.net> (David Miller's message of "Mon\, 26 Oct 2009 17\:15\:39 -0700 \(PDT\)")

David Miller <davem@davemloft.net> wrote:
> From: Steven Rostedt <rostedt@goodmis.org>
> Date: Mon, 26 Oct 2009 19:51:01 -0400
>> I get something working and then commit it. Then I do more changes
>> and commit that. I don't use quilt anymore for this.
>
> And you can do this all day long if you like.
>
> What you can't do is _PUBLISH_ this anywhere to a tree that people
> also do development against _UNTIL_ you get those acks and tested-by
> tags back from people.
>
> Once your acks etc. come in, you can pop all of those pending patches
> out of your tree, add the ack tags to the commit messages, then
> reapply them.
>
> Then you can push to your public tree, but no sooner.

I use stacked git for my patches and I may rewind the series (fixes
following reviews/testing, acked-by lines etc.) before patches are
pushed into mainline (nothing new here). But to make it easier for
others to test or develop on top of such branch, I added a "stg
publish" command which creates a separate merge-friendly branch that
is never rebased nor rewound (for some implementation details, see
http://procode.org/stgit/doc/stg-publish.html). The top commit sha1
(and history) of the published and series branches differ but they
always have the same tree so that people using the published branch
always get the same source. You even get to add a comment about what
was modified in the series when publishing the change.

There is currently no way to publish commit message changes like
adding Acked-by (unless the "publish" command would do a revert of the
original commit, though not sure it's worth as it makes the history
more unreadable).

For mainline merging you can send a pull request on the series
(rewound) branch once you are happy with it and don't foresee further
changes (when rebasing a series on the latest mainline, the "publish"
command generates a "merge" with mainline so that people pulling both
the published branch and mainline don't need to resolve the possible
conflicts with your series).

A similar script could be easily done for plain git (Stefan Richter
mentioned something like this as well).

-- 
Catalin

  parent reply	other threads:[~2009-10-27  9:48 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4ADD0793.3000707@kernel.org>
     [not found] ` <20091020020449.GF24370@core.coreip.homeip.net>
     [not found]   ` <20091020034829.GA12833@elte.hu>
     [not found]     ` <20091020140750.GH11972@erda.amd.com>
     [not found]       ` <alpine.LFD.2.00.0910210654480.5125@eeepc.linux-foundation.org>
     [not found]         ` <20091022122042.e535d43c.sfr@canb.auug.org.au>
     [not found]           ` <20091023112732.GB5886@elte.hu>
     [not found]             ` <4AE19A74.1090709@garzik.org>
     [not found]               ` <20091023123555.GA25366@elte.hu>
     [not found]                 ` <57C9024A16AD2D4C97DC78E552063EA3E33D0174@orsmsx505.amr.corp.intel.com>
     [not found]                   ` <20091023134115.GD27097@elte.hu>
     [not found]                     ` <alpine.LFD.2.00.0910231424440.21460@xanadu.home>
     [not found]                       ` <20091023191631.GA1879@elte.hu>
2009-10-23 19:35                         ` [RFC] to rebase or not to rebase on liunx-next Steven Rostedt
2009-10-23 20:37                           ` [RFC] to rebase or not to rebase on linux-next Ingo Molnar
2009-10-23 20:54                           ` Ingo Molnar
2009-10-23 21:59                             ` Sam Ravnborg
2009-10-26 23:26                               ` Steven Rostedt
2009-10-26 23:30                                 ` David Miller
2009-10-26 23:51                                   ` Steven Rostedt
2009-10-27  0:15                                     ` David Miller
2009-10-27  0:30                                       ` Steven Rostedt
2009-10-27  1:34                                         ` David Miller
2009-10-27  3:02                                           ` Steven Rostedt
2009-10-27  4:56                                             ` Theodore Tso
2009-10-27  5:18                                             ` David Miller
2009-10-27  8:13                                               ` Ingo Molnar
2009-10-27  9:48                                       ` Catalin Marinas [this message]
2009-10-27  7:59                                 ` Ingo Molnar
2009-10-27 15:39                                   ` Steven Rostedt
2009-10-27 17:18                                     ` Nicolas Pitre
2009-10-28 15:15                                       ` Steven Rostedt
2009-10-28  6:40                                     ` Ingo Molnar
2009-10-24  8:03                             ` Theodore Tso
2009-10-24 12:20                               ` Stefan Richter
2009-10-24 19:43                                 ` Sam Ravnborg
2009-10-27 19:06                                 ` Linus Torvalds
2009-10-27 19:27                                   ` Steven Rostedt
2009-10-27 19:39                                     ` Valdis.Kletnieks
2009-10-27 19:43                                       ` Steven Rostedt
2009-10-27 19:42                                     ` Linus Torvalds
2009-10-26  4:53                               ` Luck, Tony
2009-10-26  5:21                                 ` Theodore Tso
2009-10-26 18:01                                   ` Stefan Richter
2009-10-27 18:07                                     ` Theodore Tso
2009-10-27 18:54                                       ` Stefan Richter
2009-10-28  7:26                                       ` Ingo Molnar
2009-10-24 12:51                           ` Stefan Richter
     [not found]                       ` <4AE21839.3000000@s5r6.in-berlin.de>
2009-10-23 21:03                         ` [kernel.org users] Please remember to run 'git gc' on your repositories Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tnx4opl5frf.fsf@pc1117.cambridge.arm.com \
    --to=catalin.marinas@arm.com \
    --cc=davem@davemloft.net \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jeff@garzik.org \
    --cc=khali@linux-fr.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@gmail.com \
    --cc=mingo@elte.hu \
    --cc=nico@fluxnic.net \
    --cc=robert.richter@amd.com \
    --cc=rostedt@goodmis.org \
    --cc=sam@ravnborg.org \
    --cc=sfr@canb.auug.org.au \
    --cc=tony.luck@intel.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox