jj_lib::git

Function fetch

Source
pub fn fetch(
    mut_repo: &mut MutableRepo,
    git_repo: &Repository,
    remote_name: &str,
    branch_names: &[StringPattern],
    callbacks: RemoteCallbacks<'_>,
    git_settings: &GitSettings,
    depth: Option<NonZeroU32>,
) -> Result<GitFetchStats, GitFetchError>