diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-19 18:13:37 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-19 18:13:37 +0400 |
commit | 8a91e5d7d0d8f6b395588446f94749170b32821e (patch) | |
tree | bfff194b09dfa9baa1a292a13a818ff0a9cc9b57 /lib | |
parent | b26abe8ff8c22241c78024089926f63a17e7d86b (diff) |
Fix DeleteFile satellite action
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/satellite/files/delete_file_action.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/satellite/files/delete_file_action.rb b/lib/gitlab/satellite/files/delete_file_action.rb index 8a32a413b96..10d23f7c243 100644 --- a/lib/gitlab/satellite/files/delete_file_action.rb +++ b/lib/gitlab/satellite/files/delete_file_action.rb @@ -20,7 +20,7 @@ module Gitlab File.delete(file_path_in_satellite) # add removed file - repo.add(file_path_in_satellite) + repo.remove(file_path_in_satellite) # commit the changes # will raise CommandFailed when commit fails |