History

refactor

Sebastian Thiel committed 6 years ago

Commit bbb3e1e1 parent 1e879222 files · +4 −4Browse files

Unified · Split

2 files
  1. git-odb/src/pack/index/traverse/indexed.rs +2 −2
  2. git-odb/src/pack/index/traverse/lookup.rs +2 −2
git-odb/src/pack/index/traverse/indexed.rs+2−2
@@ -6,7 +6,7 @@ use crate::{ · 5 unmodified lines
66 };
77 use git_features::{
88 parallel::{self, in_parallel_if},
9− progress::{self, Progress},
9+ progress::Progress,
1010 };
1111 use git_object::Kind;
1212 use std::collections::BTreeMap;
@@ -16,7 +16,7 @@ impl index::File { · 3 unmodified lines
1616 &self,
1717 thread_limit: Option<usize>,
1818 new_processor: impl Fn() -> Processor + Send + Sync,
19− mut root: progress::DoOrDiscard<P>,
19+ mut root: P,
2020 pack: &pack::data::File,
2121 ) -> Result<index::verify::Outcome, Error>
2222 where
git-odb/src/pack/index/traverse/lookup.rs+2−2
@@ -2,7 +2,7 @@ use super::{Error, Reducer}; · 1 unmodified line
22 use crate::pack::{self, data::decode, index, index::util};
33 use git_features::{
44 parallel::{self, in_parallel_if},
5− progress::{self, Progress},
5+ progress::Progress,
66 };
77
88 /// Verify and validate the content of the index file
@@ -12,7 +12,7 @@ impl index::File { · 3 unmodified lines
1212 thread_limit: Option<usize>,
1313 new_processor: impl Fn() -> Processor + Send + Sync,
1414 make_cache: impl Fn() -> C + Send + Sync,
15− mut root: progress::DoOrDiscard<P>,
15+ mut root: P,
1616 pack: &pack::data::File,
1717 ) -> Result<index::verify::Outcome, Error>
1818 where