From: Bjørn Erik Pedersen Date: Wed, 26 Apr 2017 09:03:12 +0000 (+0200) Subject: hugolib: Make missing GitInfo a WARNING X-Git-Tag: v0.21~95 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5ad2f176;p=brevno-suite%2Fhugo hugolib: Make missing GitInfo a WARNING And not an ERROR. Fixes #3376 --- diff --git a/hugolib/gitinfo.go b/hugolib/gitinfo.go index dfa2b4dc..f4789320 100644 --- a/hugolib/gitinfo.go +++ b/hugolib/gitinfo.go @@ -58,7 +58,7 @@ func (h *HugoSites) assembleGitInfo() { filename := path.Join(filepath.ToSlash(contentRoot), contentDir, filepath.ToSlash(p.Path())) g, ok := gitMap[filename] if !ok { - h.Log.ERROR.Printf("Failed to find GitInfo for %q", filename) + h.Log.WARN.Printf("Failed to find GitInfo for %q", filename) return }