diff --git a/appview/pulls/pulls.go b/appview/pulls/pulls.go index ab80aff5..6f2100d9 100644 --- a/appview/pulls/pulls.go +++ b/appview/pulls/pulls.go @@ -203,7 +203,7 @@ func (s *Pulls) mergeCheck(f *reporesolver.ResolvedRepo, pull *db.Pull, stack db patch := pull.LatestPatch() if pull.IsStacked() { // combine patches of substack - subStack := stack.Below(pull) + subStack := stack.StrictlyBelow(pull) // collect the portion of the stack that is mergeable mergeable := subStack.Mergeable() // combine each patch @@ -293,8 +293,6 @@ func (s *Pulls) resubmitCheck(f *reporesolver.ResolvedRepo, pull *db.Pull, stack latestSourceRev = top.Submissions[top.LastRoundNumber()].SourceRev } - log.Println(latestSourceRev, result.Branch.Hash) - if latestSourceRev != result.Branch.Hash { return pages.ShouldResubmit }