From: Jeff King <peff@peff.net>
To: Francis Moreau <francis.moro@gmail.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Transfer notes when rebasing
Date: Wed, 4 Sep 2013 03:53:10 -0400 [thread overview]
Message-ID: <20130904075310.GB9637@sigill.intra.peff.net> (raw)
In-Reply-To: <CAC9WiBiSLMO+JM3aEHZ8xdwKE=jh+mDuo4REQ7rnQ-rTDNb9qA@mail.gmail.com>
On Wed, Sep 04, 2013 at 09:51:26AM +0200, Francis Moreau wrote:
> When rebasing a branch which contains commits with notes onto another
> branch it happens that some commits are already presents in the target
> branch.
>
> In that case git-rebase correctly drops those (already present)
> commits but it also drops the notes associated with them.
>
> Can the notes be transfered somehow in the target branch on the
> already present commits ?
Yes, see the notes.rewriteRef config option to enable this.
-Peff
next prev parent reply other threads:[~2013-09-04 7:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 7:51 Transfer notes when rebasing Francis Moreau
2013-09-04 7:53 ` Jeff King [this message]
2013-09-04 7:59 ` John Keeping
2013-09-04 8:03 ` Francis Moreau
2013-09-04 8:28 ` Jeff King
2013-09-04 8:47 ` Francis Moreau
2013-09-04 8:49 ` Jeff King
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=20130904075310.GB9637@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=francis.moro@gmail.com \
--cc=git@vger.kernel.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).