pub fn restore_worktree_and_index(
layout: &RepoLayout,
store: &ObjectStore,
tree_hash: Hash,
) -> Result<(), String>Expand description
Materialise tree_hash and align the index while preserving .mkitignore entries.
pub fn restore_worktree_and_index(
layout: &RepoLayout,
store: &ObjectStore,
tree_hash: Hash,
) -> Result<(), String>Materialise tree_hash and align the index while preserving .mkitignore entries.