I’m trying to do a one-time migration from svn to git, and in the config file, under [svn], set gitCommitMessage=%message\n\nLEGACY-SVN-ID: %branch rev %revision
It works, however subgit is still appending “Notes: r1 trunk” in every commit message. How do I remove this?
Hello,
to all appearances, it’s not something added into commit message, you just have git notes switched on: the matter is that SubGit always adds Git notes during the translation so that information can be then shown in ‘git log’ output, for example. But they are not part of the commit message, this is just a note object attached to a commit object, Git just shows the notes when finds any in refs/notes/commits
.
1 Like