From 753a2cda11c4bfb51184acd474e9bdfa051f9895 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Mon, 19 Jan 2015 14:58:47 -0500 Subject: [PATCH] git-config: better document default behavior for `--include` As described in the commit message of 9b25a0b (config: add include directive, 2012-02-06), the `--include` option is only on by default in some cases. But our documentation described it as just "defaults to on", which doesn't tell the whole story. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- Documentation/git-config.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt index aa8303b1ad..eca302ef90 100644 --- a/Documentation/git-config.txt +++ b/Documentation/git-config.txt @@ -181,7 +181,9 @@ See also <>. --includes:: --no-includes:: Respect `include.*` directives in config files when looking up - values. Defaults to on. + values. Defaults to `off` when a specific file is given (e.g., + using `--file`, `--global`, etc) and `on` when searching all + config files. [[FILES]] FILES -- 2.32.0.93.g670b81a890