path: root/Documentation
diff options
authorJunio C Hamano <>2008-02-27 19:52:20 (GMT)
committerJunio C Hamano <>2008-02-27 19:52:20 (GMT)
commitc6a7c606a6fb89f51258d2a60bc27cfe2530a0a1 (patch)
treecdfae919c70cc8e085b664ed258f5d1c2822fdd2 /Documentation
parentdc1c0fffd3723ceebff51053938db5baf26a47f5 (diff)
parent27c578885a0b8f56430c5a24f558e2b45cf04a38 (diff)
Merge branch 'sp/describe'
* sp/describe: Use git-describe --exact-match in bash prompt on detached HEAD Teach git-describe --exact-match to avoid expensive tag searches Avoid accessing non-tag refs in git-describe unless --all is requested Teach git-describe to use peeled ref information when scanning tags Optimize peel_ref for the current ref of a for_each_ref callback
Diffstat (limited to 'Documentation')
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt
index 1c3dfb4..fbb40a2 100644
--- a/Documentation/git-describe.txt
+++ b/Documentation/git-describe.txt
@@ -45,6 +45,11 @@ OPTIONS
candidates to describe the input committish consider
up to <n> candidates. Increasing <n> above 10 will take
slightly longer but may produce a more accurate result.
+ An <n> of 0 will cause only exact matches to be output.
+ Only output exact matches (a tag directly references the
+ supplied commit). This is a synonym for --candidates=0.
Verbosely display information about the searching strategy