Skip to content

Commit 518f9b1

Browse files
authored
Merge pull request #994 from bittrance/debug-checkout-outcome
fix: checkout outcome now implements `Debug`.
2 parents 9fe7b6d + 995545c commit 518f9b1

File tree

1 file changed

+2
-1
lines changed
  • gix-worktree-state/src/checkout

1 file changed

+2
-1
lines changed

gix-worktree-state/src/checkout/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ pub struct Collision {
1111
}
1212

1313
/// A path that encountered an IO error.
14+
#[derive(Debug)]
1415
pub struct ErrorRecord {
1516
/// the path that encountered the error.
1617
pub path: BString,
@@ -19,7 +20,7 @@ pub struct ErrorRecord {
1920
}
2021

2122
/// The outcome of checking out an entire index.
22-
#[derive(Default)]
23+
#[derive(Debug, Default)]
2324
pub struct Outcome {
2425
/// The amount of files updated, or created.
2526
pub files_updated: usize,

0 commit comments

Comments
 (0)