[19455] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: Looking for patch rebasing advice

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Jul 28 14:02:07 2016

To: Will Fiveash <will.fiveash@oracle.com>
From: Greg Hudson <ghudson@mit.edu>
Message-ID: <579A4895.5000000@mit.edu>
Date: Thu, 28 Jul 2016 14:01:57 -0400
MIME-Version: 1.0
In-Reply-To: <20160728171920.GA11757@oracle.com>
Cc: MIT Kerberos Dev List <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

On 07/28/2016 01:19 PM, Will Fiveash wrote:
> $ git checkout -b krb5-1.14.2 krb5-1.14.2-final
[...]
> 2. With krb5-1.14.2 as the checked out branch do a git apply and git
>    commit -a for each patch to be rebased so there is a separate commit
>    in this branch for each patch.
> 
> At this point it's unclear to me as to whether I need to create another
> branch based on the krb5-1.14.3-final tag and what command I should use
> to rebase the patches.

You probably do want to create another branch.  The following should
create a krb5-1.14.3 branch and copy all of the downstream commits you
made on the krb5-1.14.2 branch:

    git checkout -b krb5-1.14.3 krb5-1.14.3-final
    git cherry-pick krb5-1.14.2-final..krb5-1.14.2

This isn't a "rebase" operation since you're copying the commits, not
modifying an existing branch.

(You might consider naming the downstream branches more explicitly, like
krb5-1.14.2-oracle, but that's up to you.)
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post