Commit bf81c588 authored by James Lopez's avatar James Lopez

fix issue with mapping members

parent 41f9d9d9
...@@ -19,12 +19,6 @@ module Gitlab ...@@ -19,12 +19,6 @@ module Gitlab
private private
def git_unbundle(git_bin_path: Gitlab.config.git.bin_path, repo_path:, bundle_path:)
cmd = %W(#{git_bin_path} clone --bare #{bundle_path} #{repo_path})
_output, status = Gitlab::Popen.popen(cmd)
status.zero?
end
def tar_with_options(archive:, dir:, options:) def tar_with_options(archive:, dir:, options:)
execute(%W(tar -#{options} #{archive} -C #{dir} .)) execute(%W(tar -#{options} #{archive} -C #{dir} .))
end end
......
...@@ -10,6 +10,10 @@ module Gitlab ...@@ -10,6 +10,10 @@ module Gitlab
@project = project @project = project
@note_member_list = [] @note_member_list = []
# This needs to run first, as second call would be from generate_map
# which means project members already exist.
default_project_member
@project_member_map = Hash.new do |_, key| @project_member_map = Hash.new do |_, key|
@note_member_list << key @note_member_list << key
default_project_member default_project_member
......
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