Skip to content

Commit 76ba7fa

Browse files
Martin Ågrengitster
authored andcommitted
config.txt: move closing "----" to cover entire listing
Commit 1925fe0 ("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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent da72936 commit 76ba7fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Documentation/config.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,12 @@ Example
220220
; affected by the condition
221221
[includeIf "gitdir:/path/to/group/"]
222222
path = foo.inc
223-
----
224223

225-
; include only if we are in a worktree where foo-branch is
226-
; currently checked out
227-
[includeIf "onbranch:foo-branch"]
228-
path = foo.inc
224+
; include only if we are in a worktree where foo-branch is
225+
; currently checked out
226+
[includeIf "onbranch:foo-branch"]
227+
path = foo.inc
228+
----
229229

230230
Values
231231
~~~~~~

0 commit comments

Comments
 (0)