Permalink
Browse files

hugolib: Continue GitInfo lookup on error

The current logic stops looking after the first failure to connect a page with a Git commit. This implies a fatal error, but that may not be the case.
  • Loading branch information...
bep committed Feb 22, 2018
1 parent 19d9a46 commit e9750d831f749afa928d8a099af5889d18cb2484
Showing with 1 addition and 1 deletion.
  1. +1 −1 hugolib/gitinfo.go
View
@@ -59,7 +59,7 @@ func (h *HugoSites) assembleGitInfo() {
g, ok := gitMap[filename]
if !ok {
h.Log.WARN.Printf("Failed to find GitInfo for %q", filename)
return
continue
}
p.GitInfo = g

0 comments on commit e9750d8

Please sign in to comment.