{"thread":{"id":"39037","subject":"Notes do not follow rebase","startedAt":"2015-04-08T18:40:59Z","lastAt":"2015-04-08T22:56:18Z","messageCount":2,"participants":["Phillip Susi","Johan Herland"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"259182","messageId":"5525763B.3020300@ubuntu.com","threadId":"39037","inReplyTo":null,"subject":"Notes do not follow rebase","fromName":"Phillip Susi","fromEmail":"psusi@ubuntu.com","sentAt":"2015-04-08T18:40:59Z","receivedAt":"2015-04-08T18:40:59Z","isPatch":false,"sender":{"key":"psusi@ubuntu.com","avatar":null},"body":"-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nAfter doing a rebase -i to fix up some older commits, I noticed that\nnotes I had associated with commits failed to follow the commit across\nthe rebase, so the notes are now orphaned and will be pruned.\nShouldn't notes be copied to the new commit during an ammend/rebase?\n\n\n\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v2.0.17 (MingW32)\n\niQEcBAEBAgAGBQJVJXY7AAoJENRVrw2cjl5RUe8IAI0tGUeBUAef4xIIU/UfV5eQ\nVAdkUfYXCHnkjqukS/iBusyNM3PssabHmRFc+AdKGPPmbsv9JGKpj5G9hwf6Bdh+\nRNDPMTlt/Ii90eu+v3uXwFHNUNf0b6kv7Tw63L0bFxGsFzu55DBm48LT/DJ9T05x\nYqz5hbisKAhiVfAep2ib32f8gvC6p47CBmKVY4ii/PpOIzX/clZOQEgSPxvuHcSR\ncVcMGdljG+n8UqEOkkX5im0cW7pOUUht5GXWRGnBjXjtKTG64zxZnBPsPcqVJtxT\nq/lloKerUktJH3bJbUDU6iefBBzukQyy6tF37nbZH68bwTBlrh8CGL1BT2Eviqs=\n=WyFy\n-----END PGP SIGNATURE-----\n"},{"id":"259191","messageId":"CALKQrgcvofZJNq5yQV0sohfEpVG-S=Q_26mp=vFKryrmiY9HWw@mail.gmail.com","threadId":"39037","inReplyTo":"5525763B.3020300@ubuntu.com","subject":"Re: Notes do not follow rebase","fromName":"Johan Herland","fromEmail":"johan@herland.net","sentAt":"2015-04-08T22:56:18Z","receivedAt":"2015-04-08T22:56:18Z","isPatch":false,"sender":{"key":"johan@herland.net","avatar":"https://avatars.githubusercontent.com/u/547031?v=4"},"body":"On Wed, Apr 8, 2015 at 8:40 PM, Phillip Susi <psusi@ubuntu.com> wrote:\n> After doing a rebase -i to fix up some older commits, I noticed that\n> notes I had associated with commits failed to follow the commit across\n> the rebase, so the notes are now orphaned and will be pruned.\n> Shouldn't notes be copied to the new commit during an ammend/rebase?\n\nIt depends. Which notes do you want copied? (i.e. from which notes\nref?) Please have a look at the notes.rewriteRef config option\n(documented in the git-config and git-notes manual pages)\n\n...Johan\n\n\n-- \nJohan Herland, <johan@herland.net>\nwww.herland.net\n"}]}