File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,15 @@ you will need to handle the situation manually.
145145
146146--index-version <n>::
147147 Write the resulting index out in the named on-disk format version.
148- The current default version is 2.
148+ Supported versions are 2, 3 and 4. The current default version is 2
149+ or 3, depending on whether extra features are used, such as
150+ `git add -N`.
151+ +
152+ Version 4 performs a simple pathname compression that reduces index
153+ size by 30%-50% on large repositories, which results in faster load
154+ time. Version 4 is relatively young (first released in in 1.8.0 in
155+ October 2012). Other Git implementations such as JGit and libgit2
156+ may not support it yet.
149157
150158-z::
151159 Only meaningful with `--stdin` or `--index-info`; paths are
You can’t perform that action at this time.
0 commit comments