diff options
author | Jeff King <peff@peff.net> | 2017-05-11 05:14:30 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-12 10:06:59 +0900 |
commit | ce933ebd5a4a68a1042661499c05368bb60fd523 (patch) | |
tree | 3c4d48856ef54d0deb0cfbf0be06cc5e82389b89 /Documentation/config.txt | |
parent | a076df2813a4f1c93b22ca586865b32b3e3a08a7 (diff) | |
download | git-ce933ebd5a4a68a1042661499c05368bb60fd523.tar.gz |
docs/config: consistify include.path examplesjk/doc-config-include
Most of the include examples use "foo.inc", but some use
"foo". Since the string of examples are meant to show
variations and how they differ, it's a good idea to change
only one thing at a time. The filename differences are not
relevant to what we're trying to show.
Signed-off-by: Jeff King <peff@peff.net>
Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index be75f70055..c398d9a846 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -172,8 +172,8 @@ Example [include] path = /path/to/foo.inc ; include by absolute path - path = foo ; find "foo" relative to the current file - path = ~/foo ; find "foo" in your `$HOME` directory + path = foo.inc ; find "foo.inc" relative to the current file + path = ~/foo.inc ; find "foo.inc" in your `$HOME` directory ; include if $GIT_DIR is /path/to/foo/.git [includeIf "gitdir:/path/to/foo/.git"] |