Commit ec665cf6 authored by Douwe Maan's avatar Douwe Maan

Remove unused variable in repository

parent a2aa9cc7
......@@ -541,7 +541,6 @@ class Repository
def upstream_branches
rugged.references.each("refs/remotes/#{Repository::MIRROR_REMOTE}/*").map do |ref|
name = ref.name.sub(/\Arefs\/remotes\/#{Repository::MIRROR_REMOTE}\//, "")
source_sha = ref.target.oid
begin
Gitlab::Git::Branch.new(name, ref.target)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment