aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-ordering.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
commit9135298c45f2f03ab92903edb242c8f5f94396d5 (patch)
tree7e7cb2f000c9ffb67a45931af8aaccb64ff7bf88 /modules/custom-ordering.el
parent12fb0108ba217f06fb9d40da8431d49540650402 (diff)
downloaddotemacs-9135298c45f2f03ab92903edb242c8f5f94396d5.tar.gz
dotemacs-9135298c45f2f03ab92903edb242c8f5f94396d5.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 'modules/custom-ordering.el')
0 files changed, 0 insertions, 0 deletions