Function git_quickfix::assure_repo_in_normal_state[][src]

pub fn assure_repo_in_normal_state(repo: &Repository) -> Result<()>
Expand description

Checks that repo is in “RepositoryState::Clean” state. This means there is no rebase, cherry-pick, merge, etc is in progress. Confusingly, this is different from no uncommitted or staged changes being present in the repo. For this, see [fn.assure_workspace_is_clean].