Skip to content

Commit ce933eb

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Reviewed-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a076df2 commit ce933eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/config.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ Example
172172

173173
[include]
174174
path = /path/to/foo.inc ; include by absolute path
175-
path = foo ; find "foo" relative to the current file
176-
path = ~/foo ; find "foo" in your `$HOME` directory
175+
path = foo.inc ; find "foo.inc" relative to the current file
176+
path = ~/foo.inc ; find "foo.inc" in your `$HOME` directory
177177

178178
; include if $GIT_DIR is /path/to/foo/.git
179179
[includeIf "gitdir:/path/to/foo/.git"]

0 commit comments

Comments
 (0)