summaryrefslogtreecommitdiff
path: root/Documentation/technical/api-config.txt
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2019-03-29 12:35:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-04-01 06:17:47 (GMT)
commiteeb26f81850d83667d49b9e6d28ebec7c7aad8d8 (patch)
treeac7281e7bd0917ee867177677a91b400675b5e1a /Documentation/technical/api-config.txt
parent98228427781c5533f49238570ba22904791cb2de (diff)
downloadgit-eeb26f81850d83667d49b9e6d28ebec7c7aad8d8.zip
git-eeb26f81850d83667d49b9e6d28ebec7c7aad8d8.tar.gz
git-eeb26f81850d83667d49b9e6d28ebec7c7aad8d8.tar.bz2
Documentation/technical/api-config.txt: fix formatting
Asciidoctor versions v1.5.7 or later print the following warning while building the documentation: ASCIIDOC technical/api-config.html asciidoctor: WARNING: api-config.txt: line 232: unterminated listing block This highlight an issue (even with older Asciidoctor versions) where the length of the '----' lines surrounding a code example don't match, and the rest of the document is rendered in monospace. Fix this by making sure that the length of those lines match. The page rendered with AsciiDoc doesn't have this formatting issue. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/api-config.txt')
-rw-r--r--Documentation/technical/api-config.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/technical/api-config.txt b/Documentation/technical/api-config.txt
index fa39ac9..7d20716 100644
--- a/Documentation/technical/api-config.txt
+++ b/Documentation/technical/api-config.txt
@@ -229,7 +229,7 @@ A `config_set` can be used to construct an in-memory cache for
config-like files that the caller specifies (i.e., files like `.gitmodules`,
`~/.gitconfig` etc.). For example,
----------------------------------------
+----------------------------------------
struct config_set gm_config;
git_configset_init(&gm_config);
int b;