Skip to content

Commit 5f78d52

Browse files
sunshinecogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3c2a3fd commit 5f78d52

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Documentation/config.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -369,20 +369,18 @@ inventing new variables for use in your own tool, make sure their
369369
names do not conflict with those that are used by Git itself and
370370
other popular tools, and describe them in your documentation.
371371

372-
include::config/advice.txt[]
373-
374-
include::config/attr.txt[]
375-
376-
include::config/core.txt[]
377-
378372
include::config/add.txt[]
379373

374+
include::config/advice.txt[]
375+
380376
include::config/alias.txt[]
381377

382378
include::config/am.txt[]
383379

384380
include::config/apply.txt[]
385381

382+
include::config/attr.txt[]
383+
386384
include::config/blame.txt[]
387385

388386
include::config/branch.txt[]
@@ -405,10 +403,12 @@ include::config/commit.txt[]
405403

406404
include::config/commitgraph.txt[]
407405

408-
include::config/credential.txt[]
409-
410406
include::config/completion.txt[]
411407

408+
include::config/core.txt[]
409+
410+
include::config/credential.txt[]
411+
412412
include::config/diff.txt[]
413413

414414
include::config/difftool.txt[]
@@ -421,10 +421,10 @@ include::config/feature.txt[]
421421

422422
include::config/fetch.txt[]
423423

424-
include::config/format.txt[]
425-
426424
include::config/filter.txt[]
427425

426+
include::config/format.txt[]
427+
428428
include::config/fsck.txt[]
429429

430430
include::config/fsmonitor--daemon.txt[]
@@ -435,10 +435,10 @@ include::config/gitcvs.txt[]
435435

436436
include::config/gitweb.txt[]
437437

438-
include::config/grep.txt[]
439-
440438
include::config/gpg.txt[]
441439

440+
include::config/grep.txt[]
441+
442442
include::config/gui.txt[]
443443

444444
include::config/guitool.txt[]
@@ -519,10 +519,10 @@ include::config/splitindex.txt[]
519519

520520
include::config/ssh.txt[]
521521

522-
include::config/status.txt[]
523-
524522
include::config/stash.txt[]
525523

524+
include::config/status.txt[]
525+
526526
include::config/submodule.txt[]
527527

528528
include::config/tag.txt[]

0 commit comments

Comments
 (0)