From: Kyle Lippincott via GitGitGadget Date: Wed, 18 Dec 2024 00:57:02 GMT Subject: [PATCH v2] doc: remove extra quotes in generated docs Message-ID: In-Reply-To: From: Kyle Lippincott Commit a38edab7c8 (Makefile: generate doc versions via GIT-VERSION-GEN, 2024-12-06) moved these variables from the Makefile to asciidoc.conf.in. When doing so, some extraneous quotes were added; these are visible in the generated .xml files, at least, and possibly in other locations: ``` --- a/tmp/orig-git-bisect.xml +++ b/Documentation/git-bisect.xml @@ -5,14 +5,14 @@ git-bisect(1) - 2024-12-06 -2024-12-06 + '2024-12-06'^M +'2024-12-06'^M git-bisect 1 -Git 2.47.1.409.g9bb10d27e7 -Git Manual +'Git 2.47.1.410.ga38edab7c8'^M +'Git Manual'^M git-bisect ``` Signed-off-by: Kyle Lippincott --- doc: remove extra quotes in generated docs Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1847%2Fspectral54%2Fdoc-remove-extra-quotes-v2 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1847/spectral54/doc-remove-extra-quotes-v2 Pull-Request: https://github.com/git/git/pull/1847 Range-diff vs v1: 1: c4f2acc9b07 ! 1: 89ce6212c02 doc: remove extra quotes in generated docs @@ Metadata ## Commit message ## doc: remove extra quotes in generated docs - Commit moved these variables from the Makefile to - asciidoc.conf.in, and in doing so added some extraneous quotes. These - are visible in the generated .xml files, at least, and possibly in other - locations: + Commit a38edab7c8 (Makefile: generate doc versions via GIT-VERSION-GEN, + 2024-12-06) moved these variables from the Makefile to asciidoc.conf.in. + When doing so, some extraneous quotes were added; these are visible in + the generated .xml files, at least, and possibly in other locations: ``` - + --- a/tmp/orig-git-bisect.xml + +++ b/Documentation/git-bisect.xml + @@ -5,14 +5,14 @@ + + + git-bisect(1) + - 2024-12-06 + -2024-12-06 + + '2024-12-06'^M + +'2024-12-06'^M + + + git-bisect + 1 + -Git 2.47.1.409.g9bb10d27e7 + -Git Manual + +'Git 2.47.1.410.ga38edab7c8'^M + +'Git Manual'^M + + + git-bisect ``` Signed-off-by: Kyle Lippincott Documentation/asciidoc.conf.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/asciidoc.conf.in b/Documentation/asciidoc.conf.in index dbe36a52eab..b89bccf2309 100644 --- a/Documentation/asciidoc.conf.in +++ b/Documentation/asciidoc.conf.in @@ -21,9 +21,9 @@ tilde=~ apostrophe=' backtick=` litdd=-- -manmanual='Git Manual' -mansource='Git @GIT_VERSION@' -revdate='@GIT_DATE@' +manmanual=Git Manual +mansource=Git @GIT_VERSION@ +revdate=@GIT_DATE@ ifdef::backend-docbook[] [linkgit-inlinemacro] base-commit: 0fc57dec578fcc8dcda5cc3de6b81fa1f6719770 -- gitgitgadget