|
|
|
@ -46,8 +46,8 @@ impl DiffProviderRegistry {
|
|
|
|
|
.find_map(|provider| match provider.get_diff_base(file) {
|
|
|
|
|
Ok(res) => Some(res),
|
|
|
|
|
Err(err) => {
|
|
|
|
|
log::error!("{err:#?}");
|
|
|
|
|
log::error!("failed to open diff base for {}", file.display());
|
|
|
|
|
log::info!("{err:#?}");
|
|
|
|
|
log::info!("failed to open diff base for {}", file.display());
|
|
|
|
|
None
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
@ -59,8 +59,8 @@ impl DiffProviderRegistry {
|
|
|
|
|
.find_map(|provider| match provider.get_current_head_name(file) {
|
|
|
|
|
Ok(res) => Some(res),
|
|
|
|
|
Err(err) => {
|
|
|
|
|
log::error!("{err:#?}");
|
|
|
|
|
log::error!("failed to obtain current head name for {}", file.display());
|
|
|
|
|
log::info!("{err:#?}");
|
|
|
|
|
log::info!("failed to obtain current head name for {}", file.display());
|
|
|
|
|
None
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|