linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL] omap fixes against v3.11-rc5
Date: Thu, 22 Aug 2013 00:10:58 -0700	[thread overview]
Message-ID: <20130822071058.GP7656@atomide.com> (raw)
In-Reply-To: <20130822052635.GF5151@quad.lixom.net>

* Olof Johansson <olof@lixom.net> [130821 22:34]:
> On Tue, Aug 20, 2013 at 05:32:32AM -0700, Tony Lindgren wrote:
> > * Olof Johansson <olof@lixom.net> [130816 15:05]:
> > > 
> > > Our current fixes branch is based on -rc4, and I didn't see any of
> > > these commits in linux-next, so I took the liberty to rebase them back
> > > onto our current branch.
> > > 
> > > I.e. pulled, but rebased.
> > 
> > Thanks no problem at my end. But to avoid future confusion, what's
> > the reasoning for rebasing? AFAIK, pulling this in would have just
> > automatically updated your branch to -rc5, no?
> > 
> > The only time where pulling in a branch based on a later mainline
> > commit would cause problems is if your branch is based on another
> > series of patches you want to send separately as then you'd get
> > all the commits between -rc4 and -rc5 when doing the pull request.
> > 
> > Probably nothing new in this for your, but FYI, you can use pulling
> > or merging branches as a way of updating your publick branches without
> > rebasing or adding extra merge commits while keeping the branch
> > pullable.
> > 
> > Let's assume you have arm-soc/fixes based on -rc4, and -rc5
> > comes out:
> > 
> > $ git checkout -b my-fixes-of-the-week v3.11-rc5
> > # apply pending patches
> > ...
> > $ git checkout arm-soc/fixes
> > $ git merge my-fixes-of-the-week
> > 
> > And then you have essentially fast forwarded your arm-soc/fixes to
> > -rc5 and it stays pullable ;)
> 
> Yeah, it's not that we _can't_ pull it in, it's just that we either need to
> merge in -rc5 manually first, or otherwise manually verify diffstat since
> it'd otherwise cover the full delta.

Hmm sounds like something's not right then, at least for the fixes
branch. If you do the pull request for Linus against -rc5, it should
only show the patches you merged, not the delta from -rc4 to -rc5.

If you mean that you need to be able to diff between the earlier pull
request against -rc4 and the new pull request against -rc5, then that
should work too without showing the full delta of non-arm-soc patches.

For your branches, it should not be necessary to manually merge
any upstream tags, you can just let the branches automatically
get updated when merging in branches and pulling in branches.

Especially for the fixes branch as that should not have dependencies
to other external branches :)

> My request for people to not always eagerly pick up latest -rc as base for
> their branches is new for this release cycle, mostly to see how well it works
> out. It would keep the history of our arm-soc changes somewhat cleaner than if
> we have new -rcs "anchor in" on the graph in multiple locations like we
> sometimes do now. But it might just be annoying for everyone to deal with
> complying too, so we'll see how it goes.

Yes.. I think that's against natural way of developing things as that
requires testing against multiple trees and rebasing patches that
can often introduce new issues.

The issue of generating pull requests when there are dependencies
to earlier branches not yet merged still remains though.

Regards,

Tony

      reply	other threads:[~2013-08-22  7:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-16  7:19 [GIT PULL] omap fixes against v3.11-rc5 Tony Lindgren
2013-08-16 21:58 ` Olof Johansson
2013-08-20 12:32   ` Tony Lindgren
2013-08-22  5:26     ` Olof Johansson
2013-08-22  7:10       ` Tony Lindgren [this message]

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=20130822071058.GP7656@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).