Function import_some_refs

Source
pub fn import_some_refs(
    mut_repo: &mut MutableRepo,
    git_settings: &GitSettings,
    git_ref_filter: impl Fn(GitRefKind, RemoteRefSymbol<'_>) -> bool,
) -> Result<GitImportStats, GitImportError>
Expand description

Reflect changes made in the underlying Git repo in the Jujutsu repo.

Only bookmarks and tags whose remote symbol pass the filter will be considered for addition, update, or deletion.