mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-14 19:54:31 +00:00
Because template is declarative language, and is evaluated as a tree, there will be multiple copies of the same RefName object. This patch allows us to cache ahead/behind counts which will be lazily calculated.