Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

add option use-git-cache which makes single git log ... call #87

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on May 18, 2021

  1. add option use-git-cache which makes single git log ... call

    This diff does two things:
    
    1. aligns path_cache behavior in determinator.rb so that both formatted and raw
    calls to last_modified_time are read from the path_cache
    
    2. adds option `use-git-cache` which improves render performance by reading the
    entire git log once (instead of 1:1 for each file)
    klandergren committed May 18, 2021
    Configuration menu
    Copy the full SHA
    716d07b View commit details
    Browse the repository at this point in the history

Commits on May 19, 2021

  1. use item.relative_path for higher cache affinity

    `item.path` returns the absolute path to a file, whereas other instantiations
    of `Determinator`, like in `tag.rb`, use a relative path. by using a relative
    path in both places we increase the likelihood of cache hits.
    klandergren committed May 19, 2021
    Configuration menu
    Copy the full SHA
    58165fe View commit details
    Browse the repository at this point in the history