Remove now redundant checks in git_* rules

This commit is contained in:
mcarton
2015-07-21 15:35:39 +02:00
parent 903abff77e
commit 98a9fb3d7d
12 changed files with 13 additions and 23 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ from thefuck import utils
@utils.git_support
def match(command, settings):
return ('git branch -d' in command.script
return ('branch -d' in command.script
and 'If you are sure you want to delete it' in command.stderr)