Merge branch 'master' of github.com:nvbn/thefuck

This commit is contained in:
nvbn
2015-07-21 16:19:11 +03:00
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -10,4 +10,4 @@ def match(command, settings):
@utils.git_support
def get_new_command(command, settings):
return '{} --staged'.format(command.script)
return command.script.replace(' diff', ' diff --staged')
+1
View File
@@ -14,6 +14,7 @@ patterns = ['permission denied',
'need to be root',
'need root',
'only root can do that',
'You don\'t have access to the history DB.',
'authentication is required']