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 {
4242}
4343
4444/// Options for invoking Git.
45+ #[ derive( Clone ) ]
4546pub struct GitRunOpts {
4647 /// If set, a non-zero exit code will be treated as an error.
4748 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
446446 }
447447 } ;
448448 match test_output. test_status {
449- TestStatus :: CheckoutFailed
449+ TestStatus :: CheckoutFailed ( _ )
450450 | TestStatus :: SpawnTestFailed ( _)
451451 | TestStatus :: TerminatedBySignal
452452 | TestStatus :: AlreadyInProgress
@@ -708,7 +708,7 @@ Differential Revision: https://phabricator.example.com/D000$(git rev-list --coun
708708 . into_iter ( )
709709 . partition ( |( _commit_oid, test_output) | match test_output. test_status {
710710 TestStatus :: Passed { .. } => true ,
711- TestStatus :: CheckoutFailed
711+ TestStatus :: CheckoutFailed ( _ )
712712 | TestStatus :: SpawnTestFailed ( _)
713713 | TestStatus :: TerminatedBySignal
714714 | TestStatus :: AlreadyInProgress
You can’t perform that action at this time.
0 commit comments