in lib/grit/git-ruby/repository.rb [575:596]
def blame_tree(commit_sha, path)
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)
arr = {}
commits.each do |commit_array|
key = commit_array[0].gsub('./', '')
arr[key] = commit_array[1]
end
arr
end