Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-02-24 15:18:07 +0300
committerPawel Chojnacki <pawel@chojnacki.ws>2017-03-03 20:33:47 +0300
commitd13669c98b5b2c15cfff8b65e12ce1ef0911f1cd (patch)
treef93a961ecccfae638d7e3be456f2ebf48ed1df98 /lib/backup
parentefff35e96873bd3bea0afceb1d3cd102280813f5 (diff)
Remove remnants of git annex
Diffstat (limited to 'lib/backup')
-rw-r--r--lib/backup/repository.rb5
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