Documentation: git-tag '-m'/'-F' implies '-a'
Dirk Süsserott committed
Mar 24, 2008 at 15:43 UTC
995e8df4a9de9cf7c1b98dac922d96dc6606946d
1 file changed
+7
Documentation/git-tag.txt
+7
@@ -26,6 +26,9 @@ creates a 'tag' object, and requires the tag message. Unless
26
`-m <msg>` or `-F <file>` is given, an editor is started for the user to type
27
in the tag message.
28
29
+If `-m <msg>` or `-F <file>` is given and `-a`, `-s`, and `-u <key-id>`
30
+are absent, `-a` is implied.
31
+
32
Otherwise just the SHA1 object name of the commit object is
33
written (i.e. a lightweight tag).
34
@@ -68,10 +71,14 @@ OPTIONS
71
Use the given tag message (instead of prompting).
72
If multiple `-m` options are given, there values are
73
concatenated as separate paragraphs.
74
+ Implies `-a` if none of `-a`, `-s`, or `-u <key-id>`
75
+ is given.
76
77
-F <file>::
78
Take the tag message from the given file. Use '-' to
79
read the message from the standard input.
80
+ Implies `-a` if none of `-a`, `-s`, or `-u <key-id>`
81
+ is given.
82
83
CONFIGURATION
84
-------------