diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-03-02 15:02:56 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-03-02 15:02:56 -0800 |
commit | c42f63671c0f09cba0c8247c4d1d8121f37798fe (patch) | |
tree | 0455a5d2bb8b59fa72305235d831bbba0fc3206f /Documentation/git-describe.txt | |
parent | 7385a42572977c000c361aaad3e5ec066bd240ec (diff) | |
parent | 518120e3487a00148f8001454f1e76e484442a22 (diff) | |
download | git-c42f63671c0f09cba0c8247c4d1d8121f37798fe.tar.gz |
Merge branch 'sb/describe-long'
* sb/describe-long:
git-describe: --long shows the object name even for a tagged commit
Diffstat (limited to 'Documentation/git-describe.txt')
-rw-r--r-- | Documentation/git-describe.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt index fbb40a2916..d9aa2f2980 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. +--long:: + 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). |