diff --git a/history/revision.go b/history/revision.go index 74759c3..c5a6041 100644 --- a/history/revision.go +++ b/history/revision.go @@ -63,8 +63,10 @@ func (stream *recentChangesStream) next(n int) []Revision { // currHash is the last revision from the last call, so skip it args = append(args, "--skip=1", stream.currHash) } - // I don't think this can fail, so ignore the error - res, _ := gitLog(args...) + res, err := gitLog(args...) + if err != nil { + log.Fatal(err) + } if len(res) != 0 { stream.currHash = res[len(res)-1].Hash }