diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-02-27 11:52:20 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-27 11:52:20 -0800 |
commit | c6a7c606a6fb89f51258d2a60bc27cfe2530a0a1 (patch) | |
tree | cdfae919c70cc8e085b664ed258f5d1c2822fdd2 /Documentation | |
parent | dc1c0fffd3723ceebff51053938db5baf26a47f5 (diff) | |
parent | 27c578885a0b8f56430c5a24f558e2b45cf04a38 (diff) | |
download | git-c6a7c606a6fb89f51258d2a60bc27cfe2530a0a1.tar.gz git-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.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt index 1c3dfb40c..fbb40a291 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 |