summaryrefslogtreecommitdiff
path: root/app/models/lfs_object.rb
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2015-12-04 12:01:08 +0100
committerMarin Jankovski <maxlazio@gmail.com>2015-12-04 12:01:08 +0100
commitb9a0f96d42f52dfdad57ac8a2a5056a9262e6a88 (patch)
tree391ded747f5fc9dbe22249760b02a20a0dd40f14 /app/models/lfs_object.rb
parentea52a81da4888af232e9868d722cc91d5e442723 (diff)
downloadgitlab-ce-b9a0f96d42f52dfdad57ac8a2a5056a9262e6a88.tar.gz
Don't show diffs for lfs pointers.
Diffstat (limited to 'app/models/lfs_object.rb')
-rw-r--r--app/models/lfs_object.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/lfs_object.rb b/app/models/lfs_object.rb
index f087d07b5b2..43b845b29c6 100644
--- a/app/models/lfs_object.rb
+++ b/app/models/lfs_object.rb
@@ -6,8 +6,6 @@ class LfsObject < ActiveRecord::Base
mount_uploader :file, LfsObjectUploader
- MATCH_FROM_POINTER_REGEX = "(?<=sha256:)([0-9a-f]{64})"
-
def storage_project(project)
if project && project.forked?
project.forked_from_project