Don't show last event message on top when reverse branch was created under the hood.

This commit is contained in:
Rubén Dávila
2016-02-19 13:14:49 -05:00
committed by Robert Speicher
parent f4ff2ba57b
commit e1a3c8cd1a
+2
View File
@@ -135,6 +135,8 @@ module ApplicationHelper
# Skip if user removed branch right after that
return false unless project.repository.branch_names.include?(event.branch_name)
return false if Gitlab::Git::REVERT_BRANCH_PATTERN === event.branch_name
true
end