Only show no-commit pushes when it's a force
This commit is contained in:
parent
cc203f1756
commit
959d6a067c
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ class Module(ModuleManager.BaseModule):
|
|||
if data["forced"]:
|
||||
forced = "%s " % utils.irc.color("force", utils.consts.RED)
|
||||
|
||||
if len(data["commits"]) == 0:
|
||||
if len(data["commits"]) == 0 and data["forced"]:
|
||||
outputs.append(
|
||||
"%s %spushed to %s" % (author, forced, branch))
|
||||
elif len(data["commits"]) <= 3:
|
||||
|
|
Loading…
Reference in a new issue