File: 0001-do-not-use-git-information-in-docs.patch

package info (click to toggle)
hugo 0.150.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 48,604 kB
  • sloc: javascript: 31,886; xml: 131; makefile: 80; asm: 67; sh: 35
file content (23 lines) | stat: -rw-r--r-- 810 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: "Dr. Tobias Quathamer" <toddy@debian.org>
Date: Wed, 24 Sep 2025 22:13:53 +0200
Subject: Do not use git revision information in documentation

The .git directory is needed for that, which is not available at build time.

Origin: Debian
Forwarded: not-needed
Reviewed-by: Anthony Fok <foka@debian.org>
Last-Update: 2017-11-12, 2020-02-16, 2021-10-29, 2023-01-23
---
 config/_default/disable-git-info.toml | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 config/_default/disable-git-info.toml

diff --git a/config/_default/disable-git-info.toml b/config/_default/disable-git-info.toml
new file mode 100644
index 0000000..d704ada
--- /dev/null
+++ b/config/_default/disable-git-info.toml
@@ -0,0 +1,2 @@
+# Do not use git revision information during a Debian package build
+enableGitInfo = false