mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
downgrade gix log level to info (#6915)
This commit is contained in:
parent
f2ccc03332
commit
77da0ae8ce
@ -46,8 +46,8 @@ pub fn get_diff_base(&self, file: &Path) -> Option<Vec<u8>> {
|
|||||||
.find_map(|provider| match provider.get_diff_base(file) {
|
.find_map(|provider| match provider.get_diff_base(file) {
|
||||||
Ok(res) => Some(res),
|
Ok(res) => Some(res),
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
log::error!("{err:#?}");
|
log::info!("{err:#?}");
|
||||||
log::error!("failed to open diff base for {}", file.display());
|
log::info!("failed to open diff base for {}", file.display());
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -59,8 +59,8 @@ pub fn get_current_head_name(&self, file: &Path) -> Option<Arc<ArcSwap<Box<str>>
|
|||||||
.find_map(|provider| match provider.get_current_head_name(file) {
|
.find_map(|provider| match provider.get_current_head_name(file) {
|
||||||
Ok(res) => Some(res),
|
Ok(res) => Some(res),
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
log::error!("{err:#?}");
|
log::info!("{err:#?}");
|
||||||
log::error!("failed to obtain current head name for {}", file.display());
|
log::info!("failed to obtain current head name for {}", file.display());
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user