class Git::Diff

def cache_stats

def cache_stats
  unless @stats
    @stats = @base.lib.diff_stats(@from, @to, {:path_limiter => @path})
  end
end