diff --git a/poll/poll.go b/poll/poll.go index 5e1f30c..bec9008 100644 --- a/poll/poll.go +++ b/poll/poll.go @@ -80,6 +80,7 @@ func pollJob(ctx context.Context, pipeline database.Pipeline, pipelineConf confi prevRef, ok := prevRefs[branch.Name().String()] if ok { if branch.Hash().String() != prevRef { + log.Debugf("Branch %v in repo %v (id: %v) has hash %v, which does not match the previously seen hash of %v", branch.Name().String(), pipeline.Name, pipeline.Id, branch.Hash().String(), prevRef) log.Debugf("Queuing job for branch %v in repo %v (id: %v) with hash %v", branch.Name().String(), pipeline.Name, pipeline.Id, branch.Hash().String()) prevRefs[branch.Name().String()] = branch.Hash().String() refsToRunFor = append(refsToRunFor, branch.Name().String())