summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-02-27 11:52:20 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-02-27 11:52:20 -0800
commitc6a7c606a6fb89f51258d2a60bc27cfe2530a0a1 (patch)
treecdfae919c70cc8e085b664ed258f5d1c2822fdd2 /Documentation
parentAdd '--fixed-strings' option to "git log --grep" and friends (diff)
parentUse git-describe --exact-match in bash prompt on detached HEAD (diff)
downloadtgif-c6a7c606a6fb89f51258d2a60bc27cfe2530a0a1.tar.xz
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')
-rw-r--r--Documentation/git-describe.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt
index 1c3dfb40c6..fbb40a2916 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.
+
+--exact-match::
+ Only output exact matches (a tag directly references the
+ supplied commit). This is a synonym for --candidates=0.
--debug::
Verbosely display information about the searching strategy