Merge branch 'ah/doc-rev-parse-short-default'
Doc update. * ah/doc-rev-parse-short-default: doc: rewrite description for rev-parse --short
This commit is contained in:
commit
95173a5663
Documentation
@ -883,6 +883,7 @@ core.abbrev::
|
|||||||
computed based on the approximate number of packed objects
|
computed based on the approximate number of packed objects
|
||||||
in your repository, which hopefully is enough for
|
in your repository, which hopefully is enough for
|
||||||
abbreviated object names to stay unique for some time.
|
abbreviated object names to stay unique for some time.
|
||||||
|
The minimum length is 4.
|
||||||
|
|
||||||
add.ignoreErrors::
|
add.ignoreErrors::
|
||||||
add.ignore-errors (deprecated)::
|
add.ignore-errors (deprecated)::
|
||||||
|
@ -126,6 +126,12 @@ can be used.
|
|||||||
'git diff-{asterisk}'). In contrast to the `--sq-quote` option,
|
'git diff-{asterisk}'). In contrast to the `--sq-quote` option,
|
||||||
the command input is still interpreted as usual.
|
the command input is still interpreted as usual.
|
||||||
|
|
||||||
|
--short[=length]::
|
||||||
|
Same as `--verify` but shortens the object name to a unique
|
||||||
|
prefix with at least `length` characters. The minimum length
|
||||||
|
is 4, the default is the effective value of the `core.abbrev`
|
||||||
|
configuration variable (see linkgit:git-config[1]).
|
||||||
|
|
||||||
--not::
|
--not::
|
||||||
When showing object names, prefix them with '{caret}' and
|
When showing object names, prefix them with '{caret}' and
|
||||||
strip '{caret}' prefix from the object names that already have
|
strip '{caret}' prefix from the object names that already have
|
||||||
@ -136,12 +142,6 @@ can be used.
|
|||||||
The option core.warnAmbiguousRefs is used to select the strict
|
The option core.warnAmbiguousRefs is used to select the strict
|
||||||
abbreviation mode.
|
abbreviation mode.
|
||||||
|
|
||||||
--short::
|
|
||||||
--short=number::
|
|
||||||
Instead of outputting the full SHA-1 values of object names try to
|
|
||||||
abbreviate them to a shorter unique name. When no length is specified
|
|
||||||
7 is used. The minimum length is 4.
|
|
||||||
|
|
||||||
--symbolic::
|
--symbolic::
|
||||||
Usually the object names are output in SHA-1 form (with
|
Usually the object names are output in SHA-1 form (with
|
||||||
possible '{caret}' prefix); this option makes them output in a
|
possible '{caret}' prefix); this option makes them output in a
|
||||||
|
Loading…
Reference in New Issue
Block a user