-
- Downloads
Do not show LFS object when LFS is disabled
Do not display a 404, when a user tries to retrieve the raw content of an LFS file (pointer) if the config option "lfs_enabled" is set to false. Instead, display the LFS pointer file directly.
Showing
- app/controllers/projects/raw_controller.rb 1 addition, 1 deletionapp/controllers/projects/raw_controller.rb
- app/models/blob.rb 6 additions, 2 deletionsapp/models/blob.rb
- app/views/projects/blob/_blob.html.haml 1 addition, 1 deletionapp/views/projects/blob/_blob.html.haml
- changelogs/unreleased/feature-custom-lfs.yml 4 additions, 0 deletionschangelogs/unreleased/feature-custom-lfs.yml
- features/steps/project/source/browse_files.rb 1 addition, 0 deletionsfeatures/steps/project/source/browse_files.rb
- spec/controllers/projects/raw_controller_spec.rb 43 additions, 18 deletionsspec/controllers/projects/raw_controller_spec.rb
- spec/features/projects/files/browse_files_spec.rb 13 additions, 1 deletionspec/features/projects/files/browse_files_spec.rb
- spec/models/blob_spec.rb 14 additions, 11 deletionsspec/models/blob_spec.rb
changelogs/unreleased/feature-custom-lfs.yml
0 → 100644
Please register or sign in to comment