-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create 'feature.*' config area and some centralized config parsing #292
Changes from all commits
1a0b30b
6bf3584
651e2d5
ec0abff
082fc57
f30e25f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -345,6 +345,8 @@ include::config/difftool.txt[] | |
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Johannes Schindelin wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Ævar Arnfjörð Bjarmason wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Derrick Stolee wrote (reply to this):
|
||
include::config/fastimport.txt[] | ||
|
||
include::config/feature.txt[] | ||
|
||
include::config/fetch.txt[] | ||
|
||
include::config/format.txt[] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,9 @@ core.untrackedCache:: | |
it will automatically be removed, if set to `false`. Before | ||
setting it to `true`, you should check that mtime is working | ||
properly on your system. | ||
See linkgit:git-update-index[1]. `keep` by default. | ||
See linkgit:git-update-index[1]. `keep` by default, unless | ||
`feature.manyFiles` is enabled which sets this setting to | ||
`true` by default. | ||
|
||
core.checkStat:: | ||
When missing or is set to `default`, many fields in the stat | ||
|
@@ -577,7 +579,7 @@ the `GIT_NOTES_REF` environment variable. See linkgit:git-notes[1]. | |
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, "brian m. carlson" wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Ævar Arnfjörð Bjarmason wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Phillip Wood wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Ævar Arnfjörð Bjarmason wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Jeff King wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Phillip Wood wrote (reply to this):
|
||
core.commitGraph:: | ||
If true, then git will read the commit-graph file (if it exists) | ||
to parse the graph structure of commits. Defaults to false. See | ||
to parse the graph structure of commits. Defaults to true. See | ||
linkgit:git-commit-graph[1] for more information. | ||
|
||
core.useReplaceRefs:: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
feature.*:: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Johannes Schindelin wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Derrick Stolee wrote (reply to this):
|
||
The config settings that start with `feature.` modify the defaults of | ||
a group of other config settings. These groups are created by the Git | ||
developer community as recommended defaults and are subject to change. | ||
In particular, new config options may be added with different defaults. | ||
|
||
feature.experimental:: | ||
Enable config options that are new to Git, and are being considered for | ||
future defaults. Config settings included here may be added or removed | ||
with each release, including minor version updates. These settings may | ||
have unintended interactions since they are so new. Please enable this | ||
setting if you are interested in providing feedback on experimental | ||
features. The new default values are: | ||
+ | ||
* `pack.useSparse=true` uses a new algorithm when constructing a pack-file | ||
which can improve `git push` performance in repos with many files. | ||
+ | ||
* `fetch.negotiationAlgorithm=skipping` may improve fetch negotiation times by | ||
skipping more commits at a time, reducing the number of round trips. | ||
|
||
feature.manyFiles:: | ||
Enable config options that optimize for repos with many files in the | ||
working directory. With many files, commands such as `git status` and | ||
`git checkout` may be slow and these new defaults improve performance: | ||
+ | ||
* `index.version=4` enables path-prefix compression in the index. | ||
+ | ||
* `core.untrackedCache=true` enables the untracked cache. This setting assumes | ||
that mtime is working on your machine. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -964,6 +964,7 @@ LIB_OBJS += refspec.o | |
LIB_OBJS += ref-filter.o | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Johannes Schindelin wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Johannes Schindelin wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Junio C Hamano wrote (reply to this):
|
||
LIB_OBJS += remote.o | ||
LIB_OBJS += replace-object.o | ||
LIB_OBJS += repo-settings.o | ||
LIB_OBJS += repository.o | ||
LIB_OBJS += rerere.o | ||
LIB_OBJS += resolve-undo.o | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Johannes Schindelin wrote (reply to this):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Derrick Stolee wrote (reply to this):