Skip to content

Commit 78a0014

Browse files
committed
Merge branch 'mm/sort-config-doc'
* mm/sort-config-doc: config.txt: alphabetize configuration sections
2 parents c095a1d + 42fc11c commit 78a0014

2 files changed

Lines changed: 71 additions & 71 deletions

File tree

Documentation/config.txt

Lines changed: 60 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -572,16 +572,16 @@ color.status.<slot>::
572572
to red). The values of these variables may be specified as in
573573
color.branch.<slot>.
574574

575-
commit.template::
576-
Specify a file to use as the template for new commit messages.
577-
578575
color.ui::
579576
When set to `always`, always use colors in all git commands which
580577
are capable of colored output. When false (or `never`), never. When
581578
set to `true` or `auto`, use colors only when the output is to the
582579
terminal. When more specific variables of color.* are set, they always
583580
take precedence over this setting. Defaults to false.
584581

582+
commit.template::
583+
Specify a file to use as the template for new commit messages.
584+
585585
diff.autorefreshindex::
586586
When using 'git-diff' to compare with work tree
587587
files, do not consider stat-only change as changed.
@@ -714,18 +714,6 @@ gc.rerereunresolved::
714714
kept for this many days when 'git-rerere gc' is run.
715715
The default is 15 days. See linkgit:git-rerere[1].
716716

717-
rerere.autoupdate::
718-
When set to true, `git-rerere` updates the index with the
719-
resulting contents after it cleanly resolves conflicts using
720-
previously recorded resolution. Defaults to false.
721-
722-
rerere.enabled::
723-
Activate recording of resolved conflicts, so that identical
724-
conflict hunks can be resolved automatically, should they
725-
be encountered again. linkgit:git-rerere[1] command is by
726-
default enabled if you create `rr-cache` directory under
727-
`$GIT_DIR`, but can be disabled by setting this option to false.
728-
729717
gitcvs.enabled::
730718
Whether the CVS server interface is enabled for this repository.
731719
See linkgit:git-cvsserver[1].
@@ -917,6 +905,10 @@ i18n.logOutputEncoding::
917905
Character encoding the commit messages are converted to when
918906
running 'git-log' and friends.
919907

908+
imap::
909+
The configuration variables in the 'imap' section are described
910+
in linkgit:git-imap-send[1].
911+
920912
instaweb.browser::
921913
Specify the program that will be used to browse your working
922914
repository in gitweb. See linkgit:git-instaweb[1].
@@ -952,8 +944,6 @@ man.viewer::
952944
Specify the programs that may be used to display help in the
953945
'man' format. See linkgit:git-help[1].
954946

955-
include::merge-config.txt[]
956-
957947
man.<tool>.cmd::
958948
Specify the command to invoke the specified man viewer. The
959949
specified command is evaluated in shell with the man page
@@ -963,13 +953,7 @@ man.<tool>.path::
963953
Override the path for the given tool that may be used to
964954
display help in the 'man' format. See linkgit:git-help[1].
965955

966-
merge.conflictstyle::
967-
Specify the style in which conflicted hunks are written out to
968-
working tree files upon merge. The default is "merge", which
969-
shows `<<<<<<<` conflict marker, change made by one side,
970-
`=======` marker, change made by the other side, and then
971-
`>>>>>>>` marker. An alternate style, "diff3", adds `|||||||`
972-
marker and the original text before `=======` marker.
956+
include::merge-config.txt[]
973957

974958
mergetool.<tool>.path::
975959
Override the path for the given tool. This is useful in case
@@ -1079,6 +1063,41 @@ pull.octopus::
10791063
pull.twohead::
10801064
The default merge strategy to use when pulling a single branch.
10811065

1066+
receive.fsckObjects::
1067+
If it is set to true, git-receive-pack will check all received
1068+
objects. It will abort in the case of a malformed object or a
1069+
broken link. The result of an abort are only dangling objects.
1070+
Defaults to false.
1071+
1072+
receive.unpackLimit::
1073+
If the number of objects received in a push is below this
1074+
limit then the objects will be unpacked into loose object
1075+
files. However if the number of received objects equals or
1076+
exceeds this limit then the received pack will be stored as
1077+
a pack, after adding any missing delta bases. Storing the
1078+
pack from a push can make the push operation complete faster,
1079+
especially on slow filesystems. If not set, the value of
1080+
`transfer.unpackLimit` is used instead.
1081+
1082+
receive.denyDeletes::
1083+
If set to true, git-receive-pack will deny a ref update that deletes
1084+
the ref. Use this to prevent such a ref deletion via a push.
1085+
1086+
receive.denyCurrentBranch::
1087+
If set to true or "refuse", receive-pack will deny a ref update
1088+
to the currently checked out branch of a non-bare repository.
1089+
Such a push is potentially dangerous because it brings the HEAD
1090+
out of sync with the index and working tree. If set to "warn",
1091+
print a warning of such a push to stderr, but allow the push to
1092+
proceed. If set to false or "ignore", allow such pushes with no
1093+
message. Defaults to "warn".
1094+
1095+
receive.denyNonFastForwards::
1096+
If set to true, git-receive-pack will deny a ref update which is
1097+
not a fast forward. Use this to prevent such an update via a push,
1098+
even if that push is forced. This configuration variable is
1099+
set when initializing a shared repository.
1100+
10821101
remote.<name>.url::
10831102
The URL of a remote repository. See linkgit:git-fetch[1] or
10841103
linkgit:git-push[1].
@@ -1128,6 +1147,18 @@ repack.usedeltabaseoffset::
11281147
"false" and repack. Access from old git versions over the
11291148
native protocol are unaffected by this option.
11301149

1150+
rerere.autoupdate::
1151+
When set to true, `git-rerere` updates the index with the
1152+
resulting contents after it cleanly resolves conflicts using
1153+
previously recorded resolution. Defaults to false.
1154+
1155+
rerere.enabled::
1156+
Activate recording of resolved conflicts, so that identical
1157+
conflict hunks can be resolved automatically, should they
1158+
be encountered again. linkgit:git-rerere[1] command is by
1159+
default enabled if you create `rr-cache` directory under
1160+
`$GIT_DIR`, but can be disabled by setting this option to false.
1161+
11311162
showbranch.default::
11321163
The default set of branches for linkgit:git-show-branch[1].
11331164
See linkgit:git-show-branch[1].
@@ -1164,6 +1195,11 @@ tar.umask::
11641195
archiving user's umask will be used instead. See umask(2) and
11651196
linkgit:git-archive[1].
11661197

1198+
transfer.unpackLimit::
1199+
When `fetch.unpackLimit` or `receive.unpackLimit` are
1200+
not set, the value of this variable is used instead.
1201+
The default value is 100.
1202+
11671203
url.<base>.insteadOf::
11681204
Any URL that starts with this value will be rewritten to
11691205
start, instead, with <base>. In cases where some site serves a
@@ -1192,50 +1228,6 @@ user.signingkey::
11921228
unchanged to gpg's --local-user parameter, so you may specify a key
11931229
using any method that gpg supports.
11941230

1195-
imap::
1196-
The configuration variables in the 'imap' section are described
1197-
in linkgit:git-imap-send[1].
1198-
1199-
receive.fsckObjects::
1200-
If it is set to true, git-receive-pack will check all received
1201-
objects. It will abort in the case of a malformed object or a
1202-
broken link. The result of an abort are only dangling objects.
1203-
Defaults to false.
1204-
1205-
receive.unpackLimit::
1206-
If the number of objects received in a push is below this
1207-
limit then the objects will be unpacked into loose object
1208-
files. However if the number of received objects equals or
1209-
exceeds this limit then the received pack will be stored as
1210-
a pack, after adding any missing delta bases. Storing the
1211-
pack from a push can make the push operation complete faster,
1212-
especially on slow filesystems. If not set, the value of
1213-
`transfer.unpackLimit` is used instead.
1214-
1215-
receive.denyDeletes::
1216-
If set to true, git-receive-pack will deny a ref update that deletes
1217-
the ref. Use this to prevent such a ref deletion via a push.
1218-
1219-
receive.denyNonFastForwards::
1220-
If set to true, git-receive-pack will deny a ref update which is
1221-
not a fast forward. Use this to prevent such an update via a push,
1222-
even if that push is forced. This configuration variable is
1223-
set when initializing a shared repository.
1224-
1225-
receive.denyCurrentBranch::
1226-
If set to true or "refuse", receive-pack will deny a ref update
1227-
to the currently checked out branch of a non-bare repository.
1228-
Such a push is potentially dangerous because it brings the HEAD
1229-
out of sync with the index and working tree. If set to "warn",
1230-
print a warning of such a push to stderr, but allow the push to
1231-
proceed. If set to false or "ignore", allow such pushes with no
1232-
message. Defaults to "warn".
1233-
1234-
transfer.unpackLimit::
1235-
When `fetch.unpackLimit` or `receive.unpackLimit` are
1236-
not set, the value of this variable is used instead.
1237-
The default value is 100.
1238-
12391231
web.browser::
12401232
Specify a web browser that may be used by some commands.
12411233
Currently only linkgit:git-instaweb[1] and linkgit:git-help[1]

Documentation/merge-config.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
merge.stat::
2-
Whether to print the diffstat between ORIG_HEAD and the merge result
3-
at the end of the merge. True by default.
1+
merge.conflictstyle::
2+
Specify the style in which conflicted hunks are written out to
3+
working tree files upon merge. The default is "merge", which
4+
shows `<<<<<<<` conflict marker, change made by one side,
5+
`=======` marker, change made by the other side, and then
6+
`>>>>>>>` marker. An alternate style, "diff3", adds `|||||||`
7+
marker and the original text before `=======` marker.
48

59
merge.log::
610
Whether to include summaries of merged commits in newly created
@@ -11,6 +15,10 @@ merge.renameLimit::
1115
during a merge; if not specified, defaults to the value of
1216
diff.renameLimit.
1317

18+
merge.stat::
19+
Whether to print the diffstat between ORIG_HEAD and the merge result
20+
at the end of the merge. True by default.
21+
1422
merge.tool::
1523
Controls which merge resolution program is used by
1624
linkgit:git-mergetool[1]. Valid built-in values are: "kdiff3",

0 commit comments

Comments
 (0)