File tree Expand file tree Collapse file tree 3 files changed +181
-93
lines changed
git-branchless-lib/src/git
git-branchless-submit/src Expand file tree Collapse file tree 3 files changed +181
-93
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ impl std::fmt::Debug for GitRunInfo {
42
42
}
43
43
44
44
/// Options for invoking Git.
45
+ #[ derive( Clone ) ]
45
46
pub struct GitRunOpts {
46
47
/// If set, a non-zero exit code will be treated as an error.
47
48
pub treat_git_failure_as_error : bool ,
Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ Differential Revision: https://phabricator.example.com/D000$(git rev-list --coun
446
446
}
447
447
} ;
448
448
match test_output. test_status {
449
- TestStatus :: CheckoutFailed
449
+ TestStatus :: CheckoutFailed ( _ )
450
450
| TestStatus :: SpawnTestFailed ( _)
451
451
| TestStatus :: TerminatedBySignal
452
452
| TestStatus :: AlreadyInProgress
@@ -708,7 +708,7 @@ Differential Revision: https://phabricator.example.com/D000$(git rev-list --coun
708
708
. into_iter ( )
709
709
. partition ( |( _commit_oid, test_output) | match test_output. test_status {
710
710
TestStatus :: Passed { .. } => true ,
711
- TestStatus :: CheckoutFailed
711
+ TestStatus :: CheckoutFailed ( _ )
712
712
| TestStatus :: SpawnTestFailed ( _)
713
713
| TestStatus :: TerminatedBySignal
714
714
| TestStatus :: AlreadyInProgress
You can’t perform that action at this time.
0 commit comments