Add a new rule git_rebase_no_changes.

This commit is contained in:
Jake
2016-06-11 19:16:28 -04:00
parent b8c5433dc4
commit 4bd4c0f731
3 changed files with 44 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
from thefuck.specific.git import git_support
#@git_support
def match(command):
return (command.script == 'git rebase --continue' and
'No changes - did you forget to use \'git add\'?' in command.stdout)
def get_new_command(command):
return 'git rebase --skip'
enabled_by_default = True
requires_output = True