lib/git/multi/config.rb in git-multi-2.10.0 vs lib/git/multi/config.rb in git-multi-3.0.0

- old
+ new

@@ -6,11 +6,11 @@ def local_option(path, name, default = nil) value = `git -C #{path} config --local --get #{name}`.chomp.freeze value.empty? && default ? default : value end - def local_list(filename, name) - list = `git config --file #{filename} --get-all #{name}` + def full_names_for(superproject) + list = `git config --get-all superproject.#{superproject}.repo` list.split($RS).map(&:strip).map(&:freeze) end def global_option(name, default = nil) value = `git config --global --get #{name}`.chomp.freeze