]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-branch.txt
doc: clarify that --abbrev=<n> is about the minimum length
[thirdparty/git.git] / Documentation / git-branch.txt
index ace4ad3da8874d7c38173f4badbc51b6a1b7fec5..adaa1782a8b26d4c5fb498ff3a1d33abb8e6ac19 100644 (file)
@@ -9,7 +9,7 @@ SYNOPSIS
 --------
 [verse]
 'git branch' [--color[=<when>] | --no-color] [--show-current]
-       [-v [--abbrev=<length> | --no-abbrev]]
+       [-v [--abbrev=<n> | --no-abbrev]]
        [--column[=<options>] | --no-column] [--sort=<key>]
        [--merged [<commit>]] [--no-merged [<commit>]]
        [--contains [<commit>]] [--no-contains [<commit>]]
@@ -194,8 +194,10 @@ This option is only applicable in non-verbose mode.
        Be more quiet when creating or deleting a branch, suppressing
        non-error messages.
 
---abbrev=<length>::
-       Alter the sha1's minimum display length in the output listing.
+--abbrev=<n>::
+       In the verbose listing that show the commit object name,
+       show the shortest prefix that is at least '<n>' hexdigits
+       long that uniquely refers the object.
        The default value is 7 and can be overridden by the `core.abbrev`
        config option.