summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-05-11 09:14:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-05-12 01:06:59 (GMT)
commitce933ebd5a4a68a1042661499c05368bb60fd523 (patch)
tree3c4d48856ef54d0deb0cfbf0be06cc5e82389b89 /Documentation/config.txt
parenta076df2813a4f1c93b22ca586865b32b3e3a08a7 (diff)
downloadgit-ce933ebd5a4a68a1042661499c05368bb60fd523.zip
git-ce933ebd5a4a68a1042661499c05368bb60fd523.tar.gz
git-ce933ebd5a4a68a1042661499c05368bb60fd523.tar.bz2
docs/config: consistify include.path examples
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.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index be75f70..c398d9a 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"]