]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/tag.c
git-tag: introduce --cleanup option
authorKirill A. Shutemov <kirill@shutemov.name>
Wed, 7 Dec 2011 03:01:45 +0000 (05:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Dec 2011 17:39:30 +0000 (09:39 -0800)
commitd3e05983306537c8ec911fc52092697ba80830fa
tree0697f2f90d2ce0a03e10fe2231a15017457c1500
parent4cb5d10b14dcbe0155bed9c45ccb94e83bd4c599
git-tag: introduce --cleanup option

Normally git tag strips tag message lines starting with '#', trailing
spaces from every line and empty lines from the beginning and end.

--cleanup allows to select different cleanup modes for tag message.
It provides the same interface as --cleanup option in git-commit.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-tag.txt
builtin/tag.c