diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2018-09-23 13:48:29 +0300 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2018-09-27 12:51:15 +0300 |
commit | 271776d4aa25a23b6f58c6befa94a240e61d4120 (patch) | |
tree | 5643a3e07a8e5efd9b03398d36e23606e91df091 /app/services/files | |
parent | a1529944e962fc9b4addee324b4e606c4b7b1e93 (diff) |
Adds chmod action to POST /projects/:id/repository/commits API
With this action the user can update the execute_filemode of a given file in the repository.
Diffstat (limited to 'app/services/files')
-rw-r--r-- | app/services/files/multi_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/files/multi_service.rb b/app/services/files/multi_service.rb index 08088f8c592..c9d3ee31d82 100644 --- a/app/services/files/multi_service.rb +++ b/app/services/files/multi_service.rb @@ -2,7 +2,7 @@ module Files class MultiService < Files::BaseService - UPDATE_FILE_ACTIONS = %w(update move delete).freeze + UPDATE_FILE_ACTIONS = %w(update move delete chmod).freeze def create_commit! transformer = Lfs::FileTransformer.new(project, @branch_name) |