File tree Expand file tree Collapse file tree 3 files changed +182
-95
lines changed
git-branchless-lib/src/git
git-branchless-submit/src Expand file tree Collapse file tree 3 files changed +182
-95
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 @@ -444,7 +444,7 @@ Differential Revision: https://phabricator.example.com/D000$(git rev-list --coun
444
444
}
445
445
} ;
446
446
match test_output. test_status {
447
- TestStatus :: CheckoutFailed
447
+ TestStatus :: CheckoutFailed ( _ )
448
448
| TestStatus :: SpawnTestFailed ( _)
449
449
| TestStatus :: TerminatedBySignal
450
450
| TestStatus :: AlreadyInProgress
@@ -706,7 +706,7 @@ Differential Revision: https://phabricator.example.com/D000$(git rev-list --coun
706
706
. into_iter ( )
707
707
. partition ( |( _commit_oid, test_output) | match test_output. test_status {
708
708
TestStatus :: Passed { .. } => true ,
709
- TestStatus :: CheckoutFailed
709
+ TestStatus :: CheckoutFailed ( _ )
710
710
| TestStatus :: SpawnTestFailed ( _)
711
711
| TestStatus :: TerminatedBySignal
712
712
| TestStatus :: AlreadyInProgress
You can’t perform that action at this time.
0 commit comments