mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-16 08:06:08 +10:00
Don't show last event message on top when reverse branch was created under the hood.
This commit is contained in:
committed by
Robert Speicher
parent
f4ff2ba57b
commit
e1a3c8cd1a
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user