# File lib/grit/git-ruby/repository.rb, line 567 def blame_tree(commit_sha, path) # find subtree tree_sha = get_subtree(commit_sha, path) return {} if !tree_sha looking_for = [] get_object_by_sha1(tree_sha).entry.each do |e| looking_for << File.join('.', e.name) end @already_searched = {} commits = look_for_commits(commit_sha, path, looking_for) # cleaning up array arr = {} commits.each do |commit_array| key = commit_array[0].gsub('./', '') arr[key] = commit_array[1] end arr end