lib/mate/tmproj/ignores.rb in mate-1.1.1.2 vs lib/mate/tmproj/ignores.rb in mate-1.1.2

- old
+ new

@@ -12,10 +12,10 @@ def initialize(dir) @dir = dir @file_pattern = ["#{DOUBLE_ASTERISK_R}.+\\.(?:#{BINARY_EXTENSIONS.flatten.join('|')})"] @folder_pattern = ["#{DOUBLE_ASTERISK_R}.git"] - add(dir, Pathname(`git config --get core.excludesfile`.strip)) + add(dir, Pathname(`git config --get core.excludesfile`.strip).expand_path) dir.find do |path| Find.prune if ignore?(path) if path.directory? %w[.gitignore .tmignore .git/info/exclude].each do |ignore_file_name|