summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-02-18 21:25:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-18 21:48:31 (GMT)
commit0aa6ce3094a7d79191a921d1b37a35af865dd103 (patch)
tree8e9bd917f20a9dd855e91ee53638fa66c2707a7f
parentb6d4d82bd5a49197d5d2f4f81c08da0d461cfcf1 (diff)
downloadgit-0aa6ce3094a7d79191a921d1b37a35af865dd103.zip
git-0aa6ce3094a7d79191a921d1b37a35af865dd103.tar.gz
git-0aa6ce3094a7d79191a921d1b37a35af865dd103.tar.bz2
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>
-rw-r--r--Documentation/config/push.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/config/push.txt b/Documentation/config/push.txt
index 0a0e000..dffd4d5 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