{"thread":{"id":"53403","subject":"git send-email loses annotate changes on error","startedAt":"2020-05-05T18:29:54Z","lastAt":"2020-05-05T18:29:54Z","messageCount":1,"participants":["jtojnar@gmail.com"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"397128","messageId":"68d07bcc90de093701a0a5589107d91a10a3af08.camel@gmail.com","threadId":"53403","inReplyTo":null,"subject":"git send-email loses annotate changes on error","fromName":"","fromEmail":"jtojnar@gmail.com","sentAt":"2020-05-05T18:29:43Z","receivedAt":"2020-05-05T18:29:54Z","isPatch":false,"sender":{"key":"jtojnar@gmail.com","avatar":null},"body":"Hello.\n\nI tried sending a patch using `git send-email -1 --annotate`, and\ndecided to describe the checks I ran in the annotation. Unfortunately,\nthe submission failed due to a transient network error:\n\n   Unable to initialize SMTP properly. Check config and use --smtp-\n   debug. VALUES: server=smtp.gmail.com encryption=tls\n   hello=kaiser.localdomain port=587 at\n   /nix/store/d5pdyggxfcbwlk3m59nasnzdm33kdyg7-git-2.26.1/libexec/git-\n   core/.git-send-email-wrapped line 1557.\n\nThen I wanted to resubmit the patch but all the changes I made in the\nannotate steps were lost, as the tempdir has been cleaned up on exit:\n\nhttps://github.com/git/git/blob/de49261b050d9cd8ec73842356077bc5b606640f/git-send-email.perl#L685\n\nI am running git version 2.26.1.\n\n"}]}