Method: Git::Lib#config_list

Defined in:
lib/git/lib.rb

#config_listObject



352
353
354
355
356
357
358
359
360
361
362
# File 'lib/git/lib.rb', line 352

def config_list
  build_list = lambda do |path|
    parse_config_list command_lines('config', ['--list'])
  end
  
  if @git_dir
    Dir.chdir(@git_dir, &build_list)
  else
    build_list.call
  end
end