1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-20 20:09:07 +00:00

#515: Allow less strict check, use git_support

This commit is contained in:
nvbn 2016-06-15 19:28:58 +04:00
parent 4bd4c0f731
commit 5f11ecc4f8

View File

@ -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)