[PATCH 03/11] doc: doc-diff: set docdate manually
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- May 14, 2021, 12:14 UTC
- Message-ID
- <20210514121435.504423-4-felipe.contreras@gmail.com>
- In-Reply-To
- <20210514121435.504423-1-felipe.contreras@gmail.com>
In order to minimize the differences in the footer.
Asciidoc automatically generates a date with format '%Y-%m-%d', while asciidoctor '%F'.
I personally prefer the latter, so only modify it for diff purposes.
Fixes tons of these:
-Git omitted 01/01/1970 GIT-ADD(1) +Git omitted 1970-01-01 GIT-ADD(1)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> --- Documentation/doc-diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/doc-diff b/Documentation/doc-diff index ecd88b0524..aae5fc1933 100755 --- a/Documentation/doc-diff +++ b/Documentation/doc-diff @@ -111,7 +111,7 @@ construct_makemanflags () { echo USE_ASCIIDOCTOR= elif test "$1" = "-asciidoctor" then - echo USE_ASCIIDOCTOR=YesPlease + echo USE_ASCIIDOCTOR=YesPlease ASCIIDOC_EXTRA='-adocdate="01/01/1970"' fi }
-- 2.31.1