hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 5ad2f17693a9860be76ef8089c8728d2b59d6b04
parent 162d3a586d36cabf6376a76b096fd8b6414487ae
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed, 26 Apr 2017 11:03:12 +0200

hugolib: Make missing GitInfo a WARNING

And not an ERROR.

Fixes #3376

Diffstat:
Mhugolib/gitinfo.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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
 		}