Skip to main content

run_git_with_retry

Function run_git_with_retry 

Source
pub fn run_git_with_retry(
    repo_path: &Path,
    args: &[&str],
    is_transient: impl Fn(&str) -> bool,
) -> Result<RunOutput>
Expand description

Run a git command with retry on transient errors.

Shorthand for run_with_retry(repo_path, "git", args, is_transient).