File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -873,6 +873,7 @@ core.abbrev::
873
873
computed based on the approximate number of packed objects
874
874
in your repository, which hopefully is enough for
875
875
abbreviated object names to stay unique for some time.
876
+ The minimum length is 4.
876
877
877
878
add.ignoreErrors::
878
879
add.ignore-errors (deprecated)::
Original file line number Diff line number Diff line change @@ -126,6 +126,12 @@ can be used.
126
126
'git diff-{asterisk}'). In contrast to the `--sq-quote` option,
127
127
the command input is still interpreted as usual.
128
128
129
+ --short[=length]::
130
+ Same as `--verify` but shortens the object name to a unique
131
+ prefix with at least `length` characters. The minimum length
132
+ is 4, the default is the effective value of the `core.abbrev`
133
+ configuration variable (see linkgit:git-config[1]).
134
+
129
135
--not::
130
136
When showing object names, prefix them with '{caret}' and
131
137
strip '{caret}' prefix from the object names that already have
@@ -136,12 +142,6 @@ can be used.
136
142
The option core.warnAmbiguousRefs is used to select the strict
137
143
abbreviation mode.
138
144
139
- --short::
140
- --short=number::
141
- Instead of outputting the full SHA-1 values of object names try to
142
- abbreviate them to a shorter unique name. When no length is specified
143
- 7 is used. The minimum length is 4.
144
-
145
145
--symbolic::
146
146
Usually the object names are output in SHA-1 form (with
147
147
possible '{caret}' prefix); this option makes them output in a
You can’t perform that action at this time.
0 commit comments