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
path: root/app
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-07-12 19:06:31 +0300
committerJacob Vosmaer <jacob@gitlab.com>2018-07-12 19:06:31 +0300
commit9d93a61a70f5f5af12a880e0ca7f4ec6575152f9 (patch)
tree722a8beb48111b6f0eaab7ee103c9d06f6536917 /app
parent40ed88b78412c9598293dbc3b12e3d7c65e12c23 (diff)
Fix find_branch call sites
Diffstat (limited to 'app')
-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)