From b2d4623bd047c6e3742a4ac04c7a2b02b9448732 Mon Sep 17 00:00:00 2001 From: Luiz Otavio Vilas Boas Oliveira Date: Mon, 29 Apr 2024 12:51:29 +0200 Subject: [PATCH] . --- src/rules/git_stash_pop.rs | 9 ++++----- src/rules/mod.rs | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/rules/git_stash_pop.rs b/src/rules/git_stash_pop.rs index bf4aa37..d200601 100644 --- a/src/rules/git_stash_pop.rs +++ b/src/rules/git_stash_pop.rs @@ -26,13 +26,12 @@ fn auxiliary_get_new_command( command: &CrabCommand, system_shell: Option<&dyn Shell>, ) -> Vec { - vec![system_shell.unwrap().and(vec!["git add --update", "git stash pop", "git reset ."])] + vec![system_shell + .unwrap() + .and(vec!["git add --update", "git stash pop", "git reset ."])] } -pub fn get_new_command( - command: &mut CrabCommand, - system_shell: Option<&dyn Shell>, -) -> Vec { +pub fn get_new_command(command: &mut CrabCommand, system_shell: Option<&dyn Shell>) -> Vec { get_new_command_with_git_support(auxiliary_get_new_command, command, system_shell) } diff --git a/src/rules/mod.rs b/src/rules/mod.rs index c8a5672..a07d777 100644 --- a/src/rules/mod.rs +++ b/src/rules/mod.rs @@ -69,11 +69,11 @@ mod git_push_without_commits; mod git_rebase_merge_dir; mod git_rebase_no_changes; mod git_remote_delete; -mod git_stash_pop; mod git_remote_seturl_add; mod git_rm_local_modifications; mod git_rm_recursive; mod git_stash; +mod git_stash_pop; mod go_run; mod gradle_wrapper; mod grep_arguments_order;