From: jtojnar@gmail.com
To: git@vger.kernel.org
Subject: git send-email loses annotate changes on error
Date: Tue, 05 May 2020 20:29:43 +0200 [thread overview]
Message-ID: <68d07bcc90de093701a0a5589107d91a10a3af08.camel@gmail.com> (raw)
Hello.
I tried sending a patch using `git send-email -1 --annotate`, and
decided to describe the checks I ran in the annotation. Unfortunately,
the submission failed due to a transient network error:
Unable to initialize SMTP properly. Check config and use --smtp-
debug. VALUES: server=smtp.gmail.com encryption=tls
hello=kaiser.localdomain port=587 at
/nix/store/d5pdyggxfcbwlk3m59nasnzdm33kdyg7-git-2.26.1/libexec/git-
core/.git-send-email-wrapped line 1557.
Then I wanted to resubmit the patch but all the changes I made in the
annotate steps were lost, as the tempdir has been cleaned up on exit:
https://github.com/git/git/blob/de49261b050d9cd8ec73842356077bc5b606640f/git-send-email.perl#L685
I am running git version 2.26.1.
reply other threads:[~2020-05-05 18:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=68d07bcc90de093701a0a5589107d91a10a3af08.camel@gmail.com \
--to=jtojnar@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).