]> git.ipfire.org Git - thirdparty/git.git/commit
doc/git-config: simplify "override" advice for FILES section
authorJeff King <peff@peff.net>
Wed, 14 Jul 2021 21:38:27 +0000 (17:38 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Jul 2021 21:55:06 +0000 (14:55 -0700)
commit734283855f86bab97a060278538d5c68ca5edbc7
treeae68c6ec6d9a3db4bace9c4903aff2e13bbf95cd
parentb3b186262fd982d795be79a268c90efdd8116c1b
doc/git-config: simplify "override" advice for FILES section

At the end of the FILES section, we indicate that you can override the
regular lookup rules with --global, etc. But:

  - we're missing the --local option

  - we point to GIT_CONFIG instead of --file, but the latter has much
    better documentation

  - we're vague about how the overrides work; the actual option
    descriptions are much better here

So let's just mention the names and point people back to the OPTIONS
section. We could perhaps even delete this paragraph entirely, but the
presence of the names may give people reading FILES a clue about where
to look for more information.

Signed-off-by: Jeff King <peff@peff.net>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-config.txt