]> git.ipfire.org Git - thirdparty/git.git/commitdiff
config.txt: move closing "----" to cover entire listing
authorMartin Ågren <martin.agren@gmail.com>
Thu, 9 Apr 2020 10:35:41 +0000 (12:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Apr 2020 18:04:01 +0000 (11:04 -0700)
Commit 1925fe0c8a ("Documentation: wrap config listings in "----"",
2019-09-07) wrapped this fairly large block of example config directives
in "----". The closing "----" ended up a few lines too early though.
Make sure to include the trailing "IncludeIf.onbranch:..." example, too.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt

index f50f1b4128ceda08513d1e4f7b1fe95aa1134d95..e40fcb1eca7cb37805e5e146c7dfe801ca7bfbfe 100644 (file)
@@ -220,12 +220,12 @@ Example
 ; affected by the condition
 [includeIf "gitdir:/path/to/group/"]
        path = foo.inc
-----
 
-       ; include only if we are in a worktree where foo-branch is
-       ; currently checked out
-       [includeIf "onbranch:foo-branch"]
-               path = foo.inc
+; include only if we are in a worktree where foo-branch is
+; currently checked out
+[includeIf "onbranch:foo-branch"]
+       path = foo.inc
+----
 
 Values
 ~~~~~~