docs: sort configuration variable groupings alphabetically

By and large, variable groupings in Documentation/config.txt are sorted alphabetically, though a few are not. Those outliers make it more difficult to find a specific grouping when quickly running an eye over the list to locate a variable of interest. Address this shortcoming by sorting the groupings alphabetically. NOTE: This change only sorts the top-level groupings (i.e. "core.*" comes after "completion.*"); it does not touch the ordering of variables within each group since variables within individual groups might intentionally be ordered in some other fashion (such as most-common-first or most-important-first). Reported-by: Bruno Haible <bruno@clisp.org> Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Eric Sunshine committed Feb 29, 2024 at 14:02 UTC 5f78d52dce5a35ffaaabd44ac011e0eb8107e37b
1 file changed +14 -14
Documentation/config.txt
+14 -14
@@ -369,20 +369,18 @@ inventing new variables for use in your own tool, make sure their
369 names do not conflict with those that are used by Git itself and
370 other popular tools, and describe them in your documentation.
371
372 -include::config/advice.txt[]
373 -
374 -include::config/attr.txt[]
375 -
376 -include::config/core.txt[]
377 -
372 include::config/add.txt[]
373
374 +include::config/advice.txt[]
375 +
376 include::config/alias.txt[]
377
378 include::config/am.txt[]
379
380 include::config/apply.txt[]
381
382 +include::config/attr.txt[]
383 +
384 include::config/blame.txt[]
385
386 include::config/branch.txt[]
@@ -405,10 +403,12 @@ include::config/commit.txt[]
403
404 include::config/commitgraph.txt[]
405
408 -include::config/credential.txt[]
409 -
406 include::config/completion.txt[]
407
408 +include::config/core.txt[]
409 +
410 +include::config/credential.txt[]
411 +
412 include::config/diff.txt[]
413
414 include::config/difftool.txt[]
@@ -421,10 +421,10 @@ include::config/feature.txt[]
421
422 include::config/fetch.txt[]
423
424 -include::config/format.txt[]
425 -
424 include::config/filter.txt[]
425
426 +include::config/format.txt[]
427 +
428 include::config/fsck.txt[]
429
430 include::config/fsmonitor--daemon.txt[]
@@ -435,10 +435,10 @@ include::config/gitcvs.txt[]
435
436 include::config/gitweb.txt[]
437
438 -include::config/grep.txt[]
439 -
438 include::config/gpg.txt[]
439
440 +include::config/grep.txt[]
441 +
442 include::config/gui.txt[]
443
444 include::config/guitool.txt[]
@@ -519,10 +519,10 @@ include::config/splitindex.txt[]
519
520 include::config/ssh.txt[]
521
522 -include::config/status.txt[]
523 -
522 include::config/stash.txt[]
523
524 +include::config/status.txt[]
525 +
526 include::config/submodule.txt[]
527
528 include::config/tag.txt[]