Added "contains work" error for git push
This commit is contained in:
@@ -8,7 +8,7 @@ def match(command):
|
||||
return ('push' in command.script
|
||||
and '! [rejected]' in command.stderr
|
||||
and 'failed to push some refs to' in command.stderr
|
||||
and 'Updates were rejected because the tip of your current branch is behind' in command.stderr)
|
||||
and (('Updates were rejected because the tip of your current branch is behind' in command.stderr) or 'Updates were rejected because the remote contains work that you do' in command.stderr))
|
||||
|
||||
|
||||
@git_support
|
||||
|
||||
Reference in New Issue
Block a user