Merge branch 'jk/config-include'
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Feb 2016 21:14:48 +0000 (13:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Feb 2016 21:14:48 +0000 (13:14 -0800)
* jk/config-include:
git-config: better document default behavior for `--include`

Documentation/git-config.txt
index 2608ca74ac82f7e18531dc0d49a81c84e3155a5c..242fa5d1bb2b7eff9645e140613640d94d28852f 100644 (file)
@@ -219,7 +219,9 @@ See also <<FILES>>.
 
 --[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