@matheusbsbs / matheus-bagliano / commits / 0aa6ce3094
Fork 0

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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Feb 18, 2020 at 16:25 UTC 0aa6ce3094a7d79191a921d1b37a35af865dd103
1 file changed +2 -2
Documentation/config/push.txt
+2 -2
@@ -79,7 +79,7 @@ higher priority configuration file (e.g. `.git/config` in a
79 repository) to clear the values inherited from a lower priority
80 configuration files (e.g. `$HOME/.gitconfig`).
81 +
82 ---
82 +----
83
84 Example:
85
@@ -96,7 +96,7 @@ repo/.git/config
96
97 This will result in only b (a and c are cleared).
98
99 ---
99 +----
100
101 push.recurseSubmodules::
102 Make sure all submodule commits used by the revisions to be pushed