mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 17:08:21 +00:00
more debug logging
This commit is contained in:
parent
4f45be0924
commit
18c4d872d3
2 changed files with 7 additions and 2 deletions
|
|
@ -136,7 +136,12 @@ impl AsyncStatus {
|
|||
arc_last: Arc<Mutex<Status>>,
|
||||
) -> Result<()> {
|
||||
let res = Self::get_status(status_type, include_untracked)?;
|
||||
log::trace!("status fetched: {}", hash(&res));
|
||||
log::trace!(
|
||||
"status fetched: {} (type: {:?}, untracked: {})",
|
||||
hash(&res),
|
||||
status_type,
|
||||
include_untracked
|
||||
);
|
||||
|
||||
{
|
||||
let mut current = arc_current.lock()?;
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ pub struct StatusItem {
|
|||
}
|
||||
|
||||
///
|
||||
#[derive(Copy, Clone, Hash, PartialEq)]
|
||||
#[derive(Copy, Clone, Hash, PartialEq, Debug)]
|
||||
pub enum StatusType {
|
||||
///
|
||||
WorkingDir,
|
||||
|
|
|
|||
Loading…
Reference in a new issue