Add a --edit option whichs allows modifying the messages provided by -m or -F,
the same way git commit --edit does.
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Nicolas Morey-Chaisemartin7 years agocommitted byJunio C Hamano
@ -9,7 +9,7 @@ git-tag - Create, list, delete or verify a tag object signed with GPG
@@ -9,7 +9,7 @@ git-tag - Create, list, delete or verify a tag object signed with GPG
@ -167,6 +167,12 @@ This option is only applicable when listing tags without annotation lines.
@@ -167,6 +167,12 @@ This option is only applicable when listing tags without annotation lines.
Implies `-a` if none of `-a`, `-s`, or `-u <keyid>`
is given.
-e::
--edit::
The message taken from file with `-F` and command line with
`-m` are usually used as the tag message unmodified.
This option lets you further edit the message taken from these sources.
--cleanup=<mode>::
This option sets how the tag message is cleaned up.
The '<mode>' can be one of 'verbatim', 'whitespace' and 'strip'. The