@@ -103,7 +103,7 @@ pub fn file(
103
103
let ( mut buf, mut buf2) = ( Vec :: new ( ) , Vec :: new ( ) ) ;
104
104
let commit = find_commit ( cache. as_ref ( ) , & odb, & suspect, & mut buf) ?;
105
105
let mut queue: gix_revwalk:: PriorityQueue < CommitTime , ObjectId > = gix_revwalk:: PriorityQueue :: new ( ) ;
106
- queue. insert ( commit_time ( & commit) ?, suspect) ;
106
+ queue. insert ( commit_time ( commit) ?, suspect) ;
107
107
108
108
let mut out = Vec :: new ( ) ;
109
109
let mut diff_state = gix_diff:: tree:: State :: default ( ) ;
@@ -122,7 +122,7 @@ pub fn file(
122
122
}
123
123
124
124
let commit = find_commit ( cache. as_ref ( ) , & odb, & suspect, & mut buf) ?;
125
- let commit_time = commit_time ( & commit) ?;
125
+ let commit_time = commit_time ( commit) ?;
126
126
127
127
if let Some ( since) = options. since {
128
128
if commit_time < since. seconds {
@@ -669,7 +669,7 @@ fn find_path_entry_in_commit(
669
669
670
670
type CommitTime = i64 ;
671
671
672
- fn commit_time ( commit : & gix_traverse:: commit:: Either < ' _ , ' _ > ) -> Result < CommitTime , gix_object:: decode:: Error > {
672
+ fn commit_time ( commit : gix_traverse:: commit:: Either < ' _ , ' _ > ) -> Result < CommitTime , gix_object:: decode:: Error > {
673
673
match commit {
674
674
gix_traverse:: commit:: Either :: CommitRefIter ( commit_ref_iter) => {
675
675
commit_ref_iter. committer ( ) . map ( |c| c. time . seconds )
0 commit comments