diff --git a/thefuck/rules/git_rebase_no_changes.py b/thefuck/rules/git_rebase_no_changes.py index da44b4c..fca3eb3 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)