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 {
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 @@ -444,7 +444,7 @@ Differential Revision: https://phabricator.example.com/D000$(git rev-list --coun
444444 }
445445 } ;
446446 match test_output. test_status {
447- TestStatus :: CheckoutFailed
447+ TestStatus :: CheckoutFailed ( _ )
448448 | TestStatus :: SpawnTestFailed ( _)
449449 | TestStatus :: TerminatedBySignal
450450 | TestStatus :: AlreadyInProgress
@@ -706,7 +706,7 @@ Differential Revision: https://phabricator.example.com/D000$(git rev-list --coun
706706 . into_iter ( )
707707 . partition ( |( _commit_oid, test_output) | match test_output. test_status {
708708 TestStatus :: Passed { .. } => true ,
709- TestStatus :: CheckoutFailed
709+ TestStatus :: CheckoutFailed ( _ )
710710 | TestStatus :: SpawnTestFailed ( _)
711711 | TestStatus :: TerminatedBySignal
712712 | TestStatus :: AlreadyInProgress
You can’t perform that action at this time.
0 commit comments