diff options
author | Robert Speicher <robert@gitlab.com> | 2017-03-06 15:33:01 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-03-06 15:33:01 +0300 |
commit | 05be66df9b9e0b68606d7fa621ebdf35106f7df1 (patch) | |
tree | c28a43f2af67b0759576584869c25ed7beb0237b /lib | |
parent | 498351cfacfc09b5a33281838f0f366a6b2961df (diff) | |
parent | d13669c98b5b2c15cfff8b65e12ce1ef0911f1cd (diff) |
Merge branch '1648-remove-remnants-of-git-annex-support' into 'master'
Remove remnants of git annex
See merge request !9508
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backup/repository.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/backup/repository.rb b/lib/backup/repository.rb index d16d5ba4960..3c4ba5d50e6 100644 --- a/lib/backup/repository.rb +++ b/lib/backup/repository.rb @@ -180,9 +180,8 @@ module Backup return unless Dir.exist?(path) dir_entries = Dir.entries(path) - %w[annex custom_hooks].each do |entry| - yield(entry) if dir_entries.include?(entry) - end + + yield('custom_hooks') if dir_entries.include?('custom_hooks') end def prepare |