You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
continue outer // We don't want to check if the file is viewed here as that would fold the file, which is in this case unwanted
1558
1558
}
1559
1559
}
1560
1560
// Check whether the file has already been viewed
1561
-
iffileViewedState==pulls.Viewed {
1561
+
iffileViewedState==pull_model.Viewed {
1562
1562
diffFile.IsViewed=true
1563
1563
diff.NumViewedFiles++
1564
1564
}
@@ -1568,7 +1568,7 @@ outer:
1568
1568
// This has the benefit that the "Has Changed" attribute will be present as long as the user does not explicitly mark this file as viewed, so it will even survive a page reload after marking another file as viewed.
1569
1569
// On the other hand, this means that even if a commit reverting an unseen change is committed, the file will still be seen as changed.
log.Warn("Could not update review for user %d, pull %d, commit %s and the changed files %v: %v", review.UserID, review.PullID, review.CommitSHA, filesChangedSinceLastDiff, err)
0 commit comments