@matheusbsbs / matheus-bagliano / commits / 76ba7fa225
Fork 0

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>

Martin Ågren committed Apr 9, 2020 at 12:35 UTC 76ba7fa225deea3fb5cd4d9cedeca819210883fc
1 file changed +5 -5
Documentation/config.txt
+5 -5
@@ -220,12 +220,12 @@ Example
220 ; affected by the condition
221 [includeIf "gitdir:/path/to/group/"]
222 path = foo.inc
223 -----
223
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 +----
229
230 Values
231 ~~~~~~