@@ -577,7 +577,8 @@ the `GIT_NOTES_REF` environment variable. See linkgit:git-notes[1].
577577
578578core.commitGraph::
579579 If true, then git will read the commit-graph file (if it exists)
580- to parse the graph structure of commits. Defaults to false. See
580+ to parse the graph structure of commits. Defaults to false, unless
581+ `core.featureAdoptionRate` is at least three. See
581582 linkgit:git-commit-graph[1] for more information.
582583
583584core.useReplaceRefs::
@@ -601,3 +602,33 @@ core.abbrev::
601602 in your repository, which hopefully is enough for
602603 abbreviated object names to stay unique for some time.
603604 The minimum length is 4.
605+
606+ core.featureAdoptionRate::
607+ Set an integer value on a scale from 0 to 10 describing your
608+ desire to adopt new performance features. Defaults to 0. As
609+ the value increases, features are enabled by changing the
610+ default values of other config settings. If a config variable
611+ is specified explicitly, the explicit value will override these
612+ defaults:
613+ +
614+ If the value is at least 3, then the following defaults are modified.
615+ These represent relatively new features that have existed for multiple
616+ major releases, and present significant performance benefits. They do
617+ not modify the user-facing output of porcelain commands.
618+ +
619+ * `core.commitGraph=true` enables reading commit-graph files.
620+ +
621+ * `gc.writeCommitGraph=true` eneables writing commit-graph files during
622+ `git gc`.
623+ +
624+ * `index.version=4` uses prefix-compression to reduce the size of the
625+ .git/index file.
626+ +
627+ If the value is at least 5, then all of the defaults above are included,
628+ plus the defaults below. These represent new features that present
629+ significant performance benefits, but may not have been released for
630+ multiple major versions.
631+ +
632+ * `pack.useSparse=true` uses the sparse tree-walk algorithm, which is
633+ optimized for enumerating objects during linkgit:git-push[1] from a
634+ client machine.
0 commit comments