summaryrefslogtreecommitdiff
path: root/lib/backup
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-06-07 16:54:12 +0200
committerJames Lopez <james@jameslopez.es>2017-06-07 16:54:12 +0200
commita5b920dcf0a5ff6cbef718ea278207916425034e (patch)
tree03c53a7e67d501231c05c1cd95a94f9f9ce63c1d /lib/backup
parent8acb0f55961500658377a1f941584dddb7952570 (diff)
downloadgitlab-ce-a5b920dcf0a5ff6cbef718ea278207916425034e.tar.gz
fix wiki
Diffstat (limited to 'lib/backup')
-rw-r--r--lib/backup/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backup/repository.rb b/lib/backup/repository.rb
index 8e6235c2014..e93827211ae 100644
--- a/lib/backup/repository.rb
+++ b/lib/backup/repository.rb
@@ -43,7 +43,7 @@ module Backup
if File.exist?(path_to_wiki_repo)
progress.print " * #{wiki.path_with_namespace} ... "
- if empty_wiki_repo?(wiki)
+ if empty_repo?(wiki)
progress.puts " [SKIPPED]".color(:cyan)
else
cmd = %W(#{Gitlab.config.git.bin_path} --git-dir=#{path_to_wiki_repo} bundle create #{path_to_wiki_bundle} --all)