On Wed, Sep 04, 2013 at 03:53:10AM -0400, Jeff King wrote:
> 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.
Does that actually work for this case? It sounds like Francis has the
notes copying correctly when commits are rewritten but the notes are not
copied anywhere if the commit becomes empty.
I suspect it is difficult to do that in general as there is no clear way
to know which commit those notes should be copied to.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html