def tree!(sha)
      tree  = @repo.lstree(sha, { :recursive => true })
      items = []
      tree.each do |entry|
        if entry[:type] == 'blob'
          items << BlobEntry.new(entry[:sha], entry[:path], entry[:size], entry[:mode].to_i(8))
        end
      end
      if (dir = @page_file_dir)
        regex = /^#{dir}\//
        items.select { |i| i.path =~ regex }
      else
        items
      end
    end
def tree!(sha)
      tree  = @repo.lstree(sha, { :recursive => true })
      items = []
      tree.each do |entry|
        if entry[:type] == 'blob'
          items << BlobEntry.new(entry[:sha], entry[:path], entry[:size], entry[:mode].to_i(8))
        end
      end
      if (dir = @page_file_dir)
        regex = /^#{dir}\//
        items.select { |i| i.path =~ regex }
      else
        items
      end
    end
Looks up the Git blobs for a given commit.

 sha - String commit SHA.

 Returns an Array of BlobEntry instances.