# File lib/gitlab_git/attributes.rb, line 30 def attributes(path) full_path = File.join(@path, path) patterns.each do |pattern, attrs| return attrs if File.fnmatch?(pattern, full_path) end {} end