summaryrefslogtreecommitdiff
path: root/app/models/repository.rb
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-07-12 18:06:31 +0200
committerJacob Vosmaer <jacob@gitlab.com>2018-07-12 18:06:31 +0200
commit9d93a61a70f5f5af12a880e0ca7f4ec6575152f9 (patch)
tree722a8beb48111b6f0eaab7ee103c9d06f6536917 /app/models/repository.rb
parent40ed88b78412c9598293dbc3b12e3d7c65e12c23 (diff)
downloadgitlab-ce-9d93a61a70f5f5af12a880e0ca7f4ec6575152f9.tar.gz
Fix find_branch call sitesgitaly-mandatory-20180712-jv
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index 5ed2a7b4068..a96c73e6ab7 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -174,8 +174,8 @@ class Repository
CommitCollection.new(project, commits, ref)
end
- def find_branch(name, fresh_repo: true)
- raw_repository.find_branch(name, fresh_repo)
+ def find_branch(name)
+ raw_repository.find_branch(name)
end
def find_tag(name)