From 5f11ecc4f8ba3bffed67aee217539fae5e7b7a69 Mon Sep 17 00:00:00 2001 From: nvbn Date: Wed, 15 Jun 2016 19:28:58 +0400 Subject: [PATCH] #515: Allow less strict check, use `git_support` --- thefuck/rules/git_rebase_no_changes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thefuck/rules/git_rebase_no_changes.py b/thefuck/rules/git_rebase_no_changes.py index da44b4c5..fca3eb33 100644 --- a/thefuck/rules/git_rebase_no_changes.py +++ b/thefuck/rules/git_rebase_no_changes.py @@ -1,9 +1,9 @@ from thefuck.specific.git import git_support -#@git_support +@git_support def match(command): - return (command.script == 'git rebase --continue' and + return ({'rebase', '--continue'}.issubset(command.script_parts) and 'No changes - did you forget to use \'git add\'?' in command.stdout)