From: Michael S. Tsirkin Date: Tue, 08 Dec 2009 16:14:07 GMT Subject: Re: [PATCH RFC] rebase: add --revisions flag Message-ID: <20091208161406.GB32045@redhat.com> In-Reply-To: <20091208160822.GA1299@atjola.homenet> On Tue, Dec 08, 2009 at 05:08:22PM +0100, Björn Steinbrink wrote: > On 2009.12.08 16:47:42 +0200, Michael S. Tsirkin wrote: > > Add --revisions flag to rebase, so that it can be used > > to apply an arbitrary range of commits on top > > of a current branch. > > > > Signed-off-by: Michael S. Tsirkin > > --- > > > > I've been wishing for this functionality for a while now, > > so here goes. This isn't yet properly documented and I didn't > > write a test, but the patch seems to work fine for me. > > Any early flames/feedback? > > This pretty much reverses what rebase normally does. Instead of "rebase > this onto that" it's "'rebase' that onto this". And instead of updating > the branch head that got rebased, the, uhm, "upstream" gets updated. The last sentence is wrong I think - it is still the branch head that is updated.