Skip to content

Commit f4ee240

Browse files
author
Stephan Dilly
committed
Add debug log
1 parent 5c94c18 commit f4ee240

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

asyncgit/src/sync/state.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ impl From<RepositoryState> for RepoState {
2121
RepositoryState::Clean => Self::Clean,
2222
RepositoryState::Merge => Self::Merge,
2323
RepositoryState::RebaseMerge => Self::Rebase,
24-
_ => Self::Other,
24+
_ => {
25+
log::debug!("state not supported yet: {:?}", state);
26+
Self::Other
27+
}
2528
}
2629
}
2730
}

0 commit comments

Comments
 (0)