logoalt Hacker News

byrootyesterday at 10:20 PM1 replyview on HN

Aside from the oddness of making this cache git aware, with the new implementation I suspect querying git to revalidate the cache would take longer than just rebuilding it.


Replies

vidarhyesterday at 10:43 PM

Looking up the hash of a tree in git is few enough operations that I would be very surprised if that is true for all but the smallest caches. If you were to shell out to the git binary, maybe.