Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
e1a3c8cd
Commit
e1a3c8cd
authored
Feb 01, 2016
by
Rubén Dávila
Committed by
Robert Speicher
Feb 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't show last event message on top when reverse branch was created under the hood.
parent
f4ff2ba5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
app/helpers/application_helper.rb
app/helpers/application_helper.rb
+2
-0
No files found.
app/helpers/application_helper.rb
View file @
e1a3c8cd
...
@@ -135,6 +135,8 @@ module ApplicationHelper
...
@@ -135,6 +135,8 @@ module ApplicationHelper
# Skip if user removed branch right after that
# Skip if user removed branch right after that
return
false
unless
project
.
repository
.
branch_names
.
include?
(
event
.
branch_name
)
return
false
unless
project
.
repository
.
branch_names
.
include?
(
event
.
branch_name
)
return
false
if
Gitlab
::
Git
::
REVERT_BRANCH_PATTERN
===
event
.
branch_name
true
true
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment