Re: Feature request: Add --no-edit to git tag command
- From
Jeff King <peff@peff.net>
- Date
- Apr 4, 2019, 01:57 UTC
- Message-ID
- <20190404015744.GF4409@sigill.intra.peff.net>
- In-Reply-To
- <CAHd499BM6M+=zRE1WFVXr7b+VhJHFeDind5xLqXcwZLv7QeDvw@mail.gmail.com>
On Wed, Apr 03, 2019 at 09:38:02AM -0500, Robert Dailey wrote:
Show 10 quoted lines
> Similar to git commit, it would be nice to have a --no-edit option for > git tag. Use case is when I force-recreate a tag: > > $ git tag -af 1.0 123abc > > An editor will be prompted with the previous annotated tag message. I > would like to add --no-edit to instruct it to use any previously > provided message and without prompting the editor: > > $ git tag --no-edit -af 1.0 123abc
Yeah, that sounds like a good idea. I think it wouldn't be very hard to implement, either. Maybe a good starter project or #leftoverbits for somebody.
-Peff