Merge branch 'maint-1.5.4' into maint
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 May 2008 20:46:42 +0000 (13:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 May 2008 20:46:42 +0000 (13:46 -0700)
* maint-1.5.4:
Documentation/git-describe.txt: make description more readable

1  2 
Documentation/git-describe.txt
index d9aa2f29809eb07385468edd2587daf55339389a,5e88b6e79ad99aeb5aeaddd8be6c6c2dc5837941..69e1ab750d99defc98f671317ae6ae65debd92b0
@@@ -13,9 -13,10 +13,10 @@@ SYNOPSI
  DESCRIPTION
  -----------
  The command finds the most recent tag that is reachable from a
- commit, and if the commit itself is pointed at by the tag, shows
- the tag.  Otherwise, it suffixes the tag name with the number of
- additional commits and the abbreviated object name of the commit.
+ commit.  If the tag points to the commit, then only the tag is
+ shown.  Otherwise, it suffixes the tag name with the number of
+ additional commits on top of the tagged object and the
+ abbreviated object name of the most recent commit.
  
  
  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
        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).
 +
  EXAMPLES
  --------