summaryrefslogtreecommitdiff
path: root/Documentation/git-tag.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-12-13 23:03:00 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-13 23:07:47 -0800
commitb3f17ac3d6609c1ccede32ef783d4f2e92e7eba6 (patch)
treebc35cae673d27af07911bfb410f46e890fec3f07 /Documentation/git-tag.txt
parentMerge branch 'jl/submodule-status-failure-report' (diff)
parentgit-tag: introduce --cleanup option (diff)
downloadtgif-b3f17ac3d6609c1ccede32ef783d4f2e92e7eba6.tar.xz
Merge branch 'ks/tag-cleanup'
* ks/tag-cleanup: git-tag: introduce --cleanup option Conflicts: builtin/tag.c
Diffstat (limited to 'Documentation/git-tag.txt')
-rw-r--r--Documentation/git-tag.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index c83cb13de6..622a019eb0 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -99,6 +99,13 @@ OPTIONS
Implies `-a` if none of `-a`, `-s`, or `-u <key-id>`
is given.
+--cleanup=<mode>::
+ This option sets how the tag message is cleaned up.
+ The '<mode>' can be one of 'verbatim', 'whitespace' and 'strip'. The
+ 'strip' mode is default. The 'verbatim' mode does not change message at
+ all, 'whitespace' removes just leading/trailing whitespace lines and
+ 'strip' removes both whitespace and commentary.
+
<tagname>::
The name of the tag to create, delete, or describe.
The new tag name must pass all checks defined by