From: Jeff King Date: Tue, 18 Feb 2020 21:25:37 +0000 (-0500) Subject: doc/config/push: use longer "--" line for preformatted example X-Git-Tag: v2.26.0-rc0~27^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0aa6ce3094a7d79191a921d1b37a35af865dd103;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/config/push.txt b/Documentation/config/push.txt index 0a0e000569..dffd4d5f7b 100644 --- a/Documentation/config/push.txt +++ b/Documentation/config/push.txt @@ -79,7 +79,7 @@ higher priority configuration file (e.g. `.git/config` in a repository) to clear the values inherited from a lower priority configuration files (e.g. `$HOME/.gitconfig`). + --- +---- Example: @@ -96,7 +96,7 @@ repo/.git/config This will result in only b (a and c are cleared). --- +---- push.recurseSubmodules:: Make sure all submodule commits used by the revisions to be pushed