fn same_branch_and_sha(
prev: &GitDiffSnapshot,
branch: &str,
pushed_sha: Option<&str>,
) -> boolExpand description
Whether prev describes the same branch and pushed sha the
current scan resolved - the condition under which a failed
lookup may keep prev’s cached PR.