Skip to content
  • Joey Hess's avatar
    type based git config handling · 7f7c31df
    Joey Hess authored
    Now there's a Config type, that's extracted from the git config at startup.
    Note that laziness means that individual config values are only looked up
    and parsed on demand, and so we get implicit memoization for all of them.
    So this is not only prettier and more type safe, it optimises several
    places that didn't have explicit memoization before. As well as getting rid
    of the ugly explicit memoization code.
    
    Not yet done for annex.<remote>.* configuration settings.
    7f7c31df