Unified · Split
| @@ -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 { |