mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-24 03:56:05 +10:00
Remove unused variable in repository
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user