summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-08-22 13:54:14 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-08-23 10:45:20 +0200
commit65f83941c39c14c2af9da5064393545ea2f7b3e5 (patch)
treec18f36d6ec757954ac7af3b9674bbb20b2ac45c6 /db
parent9b9309329207449ef022bdcf06bff5f8eae36032 (diff)
downloadgitlab-ce-65f83941c39c14c2af9da5064393545ea2f7b3e5.tar.gz
Make gl_repository a G::G::Repository attribute
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140502125220_migrate_repo_size.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20140502125220_migrate_repo_size.rb b/db/migrate/20140502125220_migrate_repo_size.rb
index f5d5d834307..ca1b054600c 100644
--- a/db/migrate/20140502125220_migrate_repo_size.rb
+++ b/db/migrate/20140502125220_migrate_repo_size.rb
@@ -11,7 +11,7 @@ class MigrateRepoSize < ActiveRecord::Migration
path = File.join(namespace_path, project['project_path'] + '.git')
begin
- repo = Gitlab::Git::Repository.new('default', path)
+ repo = Gitlab::Git::Repository.new('default', path, '')
if repo.empty?
print '-'
else