提交 e1a3c8cd 编写于 作者: R Rubén Dávila 提交者: Robert Speicher

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册