diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-12-04 12:01:08 +0100 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-12-04 12:01:08 +0100 |
commit | b9a0f96d42f52dfdad57ac8a2a5056a9262e6a88 (patch) | |
tree | 391ded747f5fc9dbe22249760b02a20a0dd40f14 /app/models/lfs_object.rb | |
parent | ea52a81da4888af232e9868d722cc91d5e442723 (diff) | |
download | gitlab-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.rb | 2 |
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 |