File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,18 @@ pub enum Error {
125
125
#[ from] Box < gix:: repository:: diff_resource_cache:: Error > ,
126
126
) ,
127
127
128
+ ///
129
+ #[ error( "gix::repository::commit_graph_if_enabled error: {0}" ) ]
130
+ GixRepositoryCommitGraphIfEnabled (
131
+ #[ from] gix:: repository:: commit_graph_if_enabled:: Error ,
132
+ ) ,
133
+
134
+ ///
135
+ #[ error( "gix::config::diff::algorithm error: {0}" ) ]
136
+ GixConfigDiffAlgorithm (
137
+ #[ from] gix:: config:: diff:: algorithm:: Error ,
138
+ ) ,
139
+
128
140
///
129
141
#[ error( "gix_blame error: {0}" ) ]
130
142
GixBlame ( #[ from] gix_blame:: Error ) ,
Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ pub fn blame_file(
62
62
} ;
63
63
64
64
let cache: Option < gix:: commitgraph:: Graph > =
65
- repo. commit_graph_if_enabled ( ) . expect ( "TODO" ) ;
65
+ repo. commit_graph_if_enabled ( ) ? ;
66
66
let mut resource_cache =
67
67
repo. diff_resource_cache_for_tree_diff ( ) ?;
68
68
69
- let diff_algorithm = repo. diff_algorithm ( ) . expect ( "TODO" ) ;
69
+ let diff_algorithm = repo. diff_algorithm ( ) ? ;
70
70
71
71
let options = gix_blame:: Options {
72
72
diff_algorithm,
You can’t perform that action at this time.
0 commit comments