#682: Unify work with output in classic and instant mode
This commit is contained in:
@@ -3,13 +3,11 @@ from thefuck.specific.git import git_support
|
||||
|
||||
@git_support
|
||||
def match(command):
|
||||
return ({'rebase', '--continue'}.issubset(command.script_parts) and
|
||||
'No changes - did you forget to use \'git add\'?' in command.stdout)
|
||||
return (
|
||||
{'rebase', '--continue'}.issubset(command.script_parts) and
|
||||
'No changes - did you forget to use \'git add\'?' in command.output
|
||||
)
|
||||
|
||||
|
||||
def get_new_command(command):
|
||||
return 'git rebase --skip'
|
||||
|
||||
|
||||
enabled_by_default = True
|
||||
requires_output = True
|
||||
|
||||
Reference in New Issue
Block a user