Commit e1a3c8cd authored by Rubén Dávila's avatar Rubén Dávila Committed by Robert Speicher

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

parent f4ff2ba5
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment