pub fn reset_head(
mut_repo: &mut MutableRepo,
git_repo: &Repository,
wc_commit: &Commit,
) -> Result<(), Error>
Expand description
Sets Git HEAD to the parent of the given working-copy commit and resets the Git index.
pub fn reset_head(
mut_repo: &mut MutableRepo,
git_repo: &Repository,
wc_commit: &Commit,
) -> Result<(), Error>
Sets Git HEAD to the parent of the given working-copy commit and resets the Git index.