aboutsummaryrefslogtreecommitdiff
path: root/tests/test-calendar-sync--api-command.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 07:22:56 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 07:22:56 -0500
commit361e8835d3dcae2d75cfb860201c5801a9e4a085 (patch)
treeb30b9495d75d5ecdda0b1c9c5bce4d25e5fe5b2a /tests/test-calendar-sync--api-command.el
parentd9564c446850964758b3c833f584f088df4f4c54 (diff)
downloaddotemacs-361e8835d3dcae2d75cfb860201c5801a9e4a085.tar.gz
dotemacs-361e8835d3dcae2d75cfb860201c5801a9e4a085.zip
fix(modeline): key VC cache on resolved truename for symlink moves
The VC modeline cache keyed on (list file cj/modeline-vc-show-remote). If file was a symlink whose target moved to a different VC tree (shared drives, CI workspaces), the key was unchanged and the cache kept serving the old branch/state. Added the resolved file-truename to the key, so a symlink re-pointed at a new target produces a different key and the cache refreshes. The extra file-truename is one stat per modeline refresh, cheap next to the VC calls the cache exists to avoid. Tests cover truename inclusion, key stability for an unchanged file, and a symlink whose target moves.
Diffstat (limited to 'tests/test-calendar-sync--api-command.el')
0 files changed, 0 insertions, 0 deletions