From 9ac47d8f78842448a104b879f4986723d69fdd27 Mon Sep 17 00:00:00 2001 From: Vladimir Iakovlev Date: Tue, 20 Sep 2016 00:28:09 +0200 Subject: [PATCH] #550: Use `shell.and_` --- thefuck/rules/git_pull_uncommitted_changes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thefuck/rules/git_pull_uncommitted_changes.py b/thefuck/rules/git_pull_uncommitted_changes.py index 71db6d8d..8e9a640d 100644 --- a/thefuck/rules/git_pull_uncommitted_changes.py +++ b/thefuck/rules/git_pull_uncommitted_changes.py @@ -11,4 +11,4 @@ def match(command): @git_support def get_new_command(command): - return 'git stash && git pull && git stash pop' + return shell.and_('git stash', 'git pull', 'git stash pop')