History

adjust to changes in `git-index`

Sebastian Thiel committed 4 years ago

Commit dab3a451 parent abc3cf81 file · +1 −1Browse files

Unified · Split

gitoxide-core/src/repository/index.rs+1−1
@@ -16,7 +16,7 @@ pub fn from_tree( · 15 unmodified lines
16 let state = git::index::State::from_tree(&tree, |oid, buf| repo.objects.find_tree_iter(oid, buf).ok())?;16 let state = git::index::State::from_tree(&tree, |oid, buf| repo.objects.find_tree_iter(oid, buf).ok())?;
17 let options = git::index::write::Options {17 let options = git::index::write::Options {
18 hash_kind: repo.object_hash(),18 hash_kind: repo.object_hash(),
19 ..Default::default()19 extensions: Default::default(),
20 };20 };
21 21
22 match index_path {22 match index_path {