Skip to main content

clear_persisted_detected_pr

Function clear_persisted_detected_pr 

Source
pub fn clear_persisted_detected_pr(
    repo: &Repository,
    branch: &str,
) -> Result<()>
Expand description

Drop a persisted auto-detection (issue #283). A no-op when no detected PR was stored. Used when a detection no longer holds (the branch’s PR went away) so a stale number doesn’t linger in the config.