Method: MGit::Pull#refresh_context
- Defined in:
- lib/m-git/command/pull.rb
#refresh_context(context) ⇒ Object
316 317 318 319 320 |
# File 'lib/m-git/command/pull.rb', line 316 def refresh_context(context) exec_subrepos = all_repos(except_config:true) is_all = Workspace.is_all_exec_sub_repos?(exec_subrepos) context.repos = is_all ? nil : exec_subrepos.map { |e| e.name } # nil表示操作所有子仓库 end |