get_short_sha1(): correctly disambiguate type-limited abbreviation
[gitweb.git] / Documentation / git-rev-parse.txt
index 8023dc086d044d0ac2cab685ac1c8b050adda95b..8d90863ee3aa43c24170abd3118f4e00e5d4a208 100644 (file)
@@ -101,6 +101,12 @@ OPTIONS
        The option core.warnAmbiguousRefs is used to select the strict
        abbreviation mode.
 
+--disambiguate=<prefix>::
+       Show every object whose name begins with the given prefix.
+       The <prefix> must be at least 4 hexadecimal digits long to
+       avoid listing each and every object in the repository by
+       mistake.
+
 --all::
        Show all refs found in `refs/`.