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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3989d8b0
Commit
3989d8b0
authored
Jul 20, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Performance improvement of push rules
parent
6a9dc4cb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CHANGELOG-EE
CHANGELOG-EE
+1
-0
lib/gitlab/git_access.rb
lib/gitlab/git_access.rb
+1
-2
No files found.
CHANGELOG-EE
View file @
3989d8b0
...
...
@@ -10,6 +10,7 @@ v 8.10.0 (unreleased)
- Fix of removing wiki data from index when project is deleted
- Ticket-based Kerberos authentication (SPNEGO)
- [Elastic] Suppress ActiveRecord::RecordNotFound error in ElasticIndexWorker
- Performance improvement of push rules
v.8.9.7 (unreleased)
- Fix error in admin dashboard when Geo is enabled and current node is nil.
...
...
lib/gitlab/git_access.rb
View file @
3989d8b0
...
...
@@ -297,8 +297,7 @@ module Gitlab
end
def
old_commit?
(
commit
)
# We skip refs/tmp ref because we use it for Web UI commiting
commit
.
refs
(
project
.
repository
).
reject
{
|
ref
|
ref
.
name
.
start_with?
(
'refs/tmp'
)
}.
any?
commit
.
refs
(
project
.
repository
).
any?
end
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