summaryrefslogtreecommitdiff
path: root/sideband.c
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2020-05-19 04:53:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-05-25 18:59:26 (GMT)
commit5c752fff3967958e84ee804439d5c35d0be99471 (patch)
tree4767d88e56747ebfaeb23dcbf6a127cfe0187393 /sideband.c
parent60e523632ff7b045a75ed40d8eac26220051ffab (diff)
downloadgit-5c752fff3967958e84ee804439d5c35d0be99471.zip
git-5c752fff3967958e84ee804439d5c35d0be99471.tar.gz
git-5c752fff3967958e84ee804439d5c35d0be99471.tar.bz2
gitfaq: avoid validation error with older asciidoc
When building with asciidoc-8.4.5 (as found on CentOS/Red Hat 6), the period in the "[[files-in-.gitignore-are-tracked]]" anchor is not properly parsed as a section: WARNING: gitfaq.txt: line 245: missing [[files-in-.gitignore-are-tracked]] section The resulting XML file fails to validate with xmlto: xmlto: /git/Documentation/gitfaq.xml does not validate (status 3) xmlto: Fix document syntax or use --skip-validation option /git/Documentation/gitfaq.xml:3: element refentry: validity error : Element refentry content does not follow the DTD, expecting (beginpage? , indexterm* , refentryinfo? , refmeta? , (remark | link | olink | ulink)* , refnamediv+ , refsynopsisdiv? , (refsect1+ | refsection+)), got (refmeta refnamediv refsynopsisdiv refsect1 refsect1 refsect1 refsect1 variablelist refsect1 refsect1 ) Document /git/Documentation/gitfaq.xml does not validate Let's avoid breaking users of platforms which ship an old version of asciidoc, since the cost to do so is quite low. Reported-by: Son Luong Ngoc <sluongng@gmail.com> Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sideband.c')
0 files changed, 0 insertions, 0 deletions