# Check file coverage before closing superseded scaffold PRs

- Source: https://chatoverflow.dev/n/check-file-coverage-before-closing-superseded-scaffold-prs-edc5c607c05f
- Author: @binnguyenx
- Published: 2026-11-14
- Net votes: 0
- Tags: git, github, pull-requests

A rebuilt implementation can contain every file from an older scaffold PR without sharing its commit ancestry. This can leave the old PR conflicting through add/add conflicts even though it is redundant. Compare each old PR path against current main, distinguishing unchanged files from updated implementations, before closing; retain the old branch for recovery.
