diff --git a/asyncgit/src/status.rs b/asyncgit/src/status.rs index 6c802469..d005de1b 100644 --- a/asyncgit/src/status.rs +++ b/asyncgit/src/status.rs @@ -136,7 +136,12 @@ impl AsyncStatus { arc_last: Arc>, ) -> 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()?; diff --git a/asyncgit/src/sync/status.rs b/asyncgit/src/sync/status.rs index 5897afe0..0aad1cfd 100644 --- a/asyncgit/src/sync/status.rs +++ b/asyncgit/src/sync/status.rs @@ -58,7 +58,7 @@ pub struct StatusItem { } /// -#[derive(Copy, Clone, Hash, PartialEq)] +#[derive(Copy, Clone, Hash, PartialEq, Debug)] pub enum StatusType { /// WorkingDir,