Skip to content

Commit 0aa6ce3

Browse files
peffgitster
authored andcommitted
doc/config/push: use longer "--" line for preformatted example
The example for the push.pushOption config tries to create a preformatted section, but uses only two dashes in its "--" line. In AsciiDoc this is an "open block", with no type; the lines end up jumbled because they're formatted as paragraphs. We need four or more dashes to make it a "listing block" that will respect the linebreaks. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b6d4d82 commit 0aa6ce3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/config/push.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ higher priority configuration file (e.g. `.git/config` in a
7979
repository) to clear the values inherited from a lower priority
8080
configuration files (e.g. `$HOME/.gitconfig`).
8181
+
82-
--
82+
----
8383

8484
Example:
8585

@@ -96,7 +96,7 @@ repo/.git/config
9696

9797
This will result in only b (a and c are cleared).
9898

99-
--
99+
----
100100

101101
push.recurseSubmodules::
102102
Make sure all submodule commits used by the revisions to be pushed

0 commit comments

Comments
 (0)