We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bccc93f commit f52da1dCopy full SHA for f52da1d
make
@@ -141,7 +141,7 @@ def merge_git():
141
142
git = subprocess.Popen(['git', 'status'], stdout=subprocess.PIPE)
143
result = git.communicate()[0].strip().split('\n')
144
- if not result[-1].startswith('nothing to commit'):
+ if result[-1].startswith('nothing to commit'):
145
print 'ERROR: Nothing to merge'
146
return 1
147
0 commit comments