History

[git-odb] refactor

Sebastian Thiel committed 5 years ago

Commit ea224e91 parent 6a1b16a19 files · +55 −35Browse files

Showing the changes to git-diff (1 of 19 files). Show all

Unified · Split

git-diff/tests/visit/mod.rs+5−2
@@ -1,10 +1,13 @@
11 mod changes {
22 mod to_obtain_tree {
3− use crate::hex_to_id;
43 use git_diff::tree::{recorder, recorder::Change::*};
54 use git_hash::{oid, ObjectId};
65 use git_object::{bstr::ByteSlice, immutable, tree::EntryMode};
7− use git_odb::{linked, pack, Find};
6+ use git_odb::store::linked;
7+ use git_odb::{pack, Find};
8+
9+ use crate::hex_to_id;
10+
811 type Changes = Vec<recorder::Change>;
912
1013 fn db(args: impl IntoIterator<Item = &'static str>) -> crate::Result<linked::Backend> {