#878931 git-email: git send-email --compose --dry-run should warn that the cover letter will be lost

Package:
git-email
Source:
git
Submitter:
Daniel Kahn Gillmor
Date:
2017-10-17 19:06:04 UTC
Severity:
wishlist
#878931#5
Date:
2017-10-17 19:02:45 UTC
From:
To:
Sometimes i use "git send-email --dry-run" to make sure i know what
it's going to do.

sometimes, i accidentally combine it with --compose.

in that situation, i'm presented with a message for composition, but
when i save it and complete, my message composition is lost. :(

it's PEBKAC for sure, but "git send-email" could be nicer about it, in
(at least) one of two ways:

 * when --dry-run and --send-email are used together, the composition
   template could clearly say that this is a dry-run and will not be
   sent.

 * it could save the composed message in a well-known place within
   .git/ so that it can be recovered.

I recognize that this is most likely an upstream wishlist bug -- feel
free to forward it to the appropriate location.  I'm all out of time
for this today, since i have to go re-write my cover letter again now
:(