Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-02-27 22:52:20 +0300
committerJunio C Hamano <gitster@pobox.com>2008-02-27 22:52:20 +0300
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')
-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