path: root/Documentation
diff options
authorJunio C Hamano <>2008-03-02 23:02:56 (GMT)
committerJunio C Hamano <>2008-03-02 23:02:56 (GMT)
commitc42f63671c0f09cba0c8247c4d1d8121f37798fe (patch)
tree0455a5d2bb8b59fa72305235d831bbba0fc3206f /Documentation
parent7385a42572977c000c361aaad3e5ec066bd240ec (diff)
parent518120e3487a00148f8001454f1e76e484442a22 (diff)
Merge branch 'sb/describe-long'
* sb/describe-long: git-describe: --long shows the object name even for a tagged commit
Diffstat (limited to 'Documentation')
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt
index fbb40a2..d9aa2f2 100644
--- a/Documentation/git-describe.txt
+++ b/Documentation/git-describe.txt
@@ -56,6 +56,15 @@ OPTIONS
being employed to standard error. The tag name will still
be printed to standard out.
+ Always output the long format (the tag, the number of commits
+ and the abbreviated commit name) even when it matches a tag.
+ This is useful when you want to see parts of the commit object name
+ in "describe" output, even when the commit in question happens to be
+ a tagged version. Instead of just emitting the tag name, it will
+ describe such a commit as v1.2-0-deadbeef (0th commit since tag v1.2
+ that points at object deadbeef....).
--match <pattern>::
Only consider tags matching the given pattern (can be used to avoid
leaking private tags made from the repository).