Method: Git::Lib#parse_config_list

Defined in:
lib/git/lib.rb

#parse_config_list(lines)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



1058
1059
1060
1061
1062
1063
1064
1065
# File 'lib/git/lib.rb', line 1058

def parse_config_list(lines)
  hsh = {}
  lines.each do |line|
    (key, *values) = line.split('=')
    hsh[key] = values.join('=')
  end
  hsh
end