projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
471ed91
)
config: Set HUGO_ENABLEGITINFO=false override in Set_in_string
author
Anthony Fok
<foka@debian.org>
Fri, 22 Oct 2021 11:12:09 +0000
(
05:12
-0600)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Fri, 22 Oct 2021 17:40:18 +0000
(19:40 +0200)
This allows TestLoadConfigWithOsEnvOverrides/Set_in_string to PASS
even if there is no .git directory, e.g. during Debian package build.
hugolib/config_test.go
patch
|
blob
|
history
diff --git
a/hugolib/config_test.go
b/hugolib/config_test.go
index 8c7d396ef91482ba67e53fc513975b128098d569..bbf821232bb6bd7b694a1201ee6a7d2e646c0ab7 100644
(file)
--- a/
hugolib/config_test.go
+++ b/
hugolib/config_test.go
@@
-742,6
+742,7
@@
theme_param="themevalue2"
b := newB(c)
b.WithEnviron(
+ "HUGO_ENABLEGITINFO", "false",
// imaging.anchor is a string, and it's not possible
// to set a child attribute.
"HUGO_IMAGING_ANCHOR_FOO", "top",