Re: [Bug?] git notes are not copied during rebase
- From
SZEDER Gábor <szeder@ira.uka.de>
- Date
- Nov 17, 2016, 10:30 UTC
- Message-ID
- <20161117103043.4835-1-szeder@ira.uka.de>
- In-Reply-To
- <CAM+g_NvFhyReNREpTYKbXKm=8QmSH1tnrTCyFm9HusOnfAbCCA@mail.gmail.com>
> I am currently a heavy user of rebasing and noticed that my notes > don't get correctly applied, even if notes.rewrite.rebase is set > explicitly to true (though manual says that is the default).
Setting 'notes.rewrite.rebase' is, as you mentioned, not necessary, but not sufficient either. See here, especially the second paragraph:
notes.rewriteRef
When copying notes during a rewrite, specifies the (fully
qualified) ref whose notes should be copied. May be a glob, in
which case notes in all matching refs will be copied. You may also
specify this configuration several times. Does not have a default value; you must configure this variable to
enable note rewriting. Can be overridden with the GIT_NOTES_REWRITE_REF environment
variable.Gábor