summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2020-04-09 10:35:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-04-09 18:04:01 (GMT)
commit76ba7fa225deea3fb5cd4d9cedeca819210883fc (patch)
tree90ef9939e954e8b93fea47250b89a045d2120199 /Documentation
parentda72936f544fec5a335e66432610e4cef4430991 (diff)
downloadgit-76ba7fa225deea3fb5cd4d9cedeca819210883fc.zip
git-76ba7fa225deea3fb5cd4d9cedeca819210883fc.tar.gz
git-76ba7fa225deea3fb5cd4d9cedeca819210883fc.tar.bz2
config.txt: move closing "----" to cover entire listing
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index f50f1b4..e40fcb1 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -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
~~~~~~