pub fn run_git_with_retry_cancellable(
repo_path: &Path,
args: &[&str],
is_transient: impl Fn(&RunError) -> bool + Send + Sync + 'static,
cancel: Arc<AtomicBool>,
) -> Result<RunOutput, RunError>Expand description
Run a git command with retry on transient errors plus caller-driven cancellation.
See run_jj_with_retry_cancellable for semantics.