diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-07-12 19:06:31 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2018-07-12 19:06:31 +0300 |
commit | 9d93a61a70f5f5af12a880e0ca7f4ec6575152f9 (patch) | |
tree | 722a8beb48111b6f0eaab7ee103c9d06f6536917 /app | |
parent | 40ed88b78412c9598293dbc3b12e3d7c65e12c23 (diff) |
Fix find_branch call sites
Diffstat (limited to 'app')
-rw-r--r-- | app/models/repository.rb | 4 |
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) |