Re: git-replay/git-history lose notes
Elijah Newren <[email protected]>
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <CABPp-BFwbiasLBS3LDvaz736o2u0FkQJ73Tb8SQnc5rcR5Vn0A@mail.gmail.com> |
On Fri, Aug 7, 2026 at 2:49 AM erik88 <[email protected]> wrote: > > On 06/08/26 23:53, Elijah Newren wrote: > > git filter-repo (and implicitly fast-export/fast-import) too, though > > that one's a slightly bigger can of worms. (Trying to treat notes as > > the underlying commits they are represented as is a really poor way to > > export and import them; any filtering on the underlying commits will > > cause the notes that attach to them to just be lost since they will > > instead attach to the original commit.) > > There are some workarounds for filter-repo, IIRC they work _okay_. > > https://github.com/newren/git-filter-repo/issues/22#issuecomment-1834041470 Yes, I'm the one that added the "workaround-available" label on that ticket. :-) Just thought the lack of built-in support (which would require fast-export & fast-import changes) and questions about ringing bells meant it might be an interesting tidbit to add.