You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use real filesystem paths for leaf color detection with multiple args
When multiple paths are given, the synthetic "(total)" root was included
in the filesystem path passed to file_color(), producing nonexistent
paths like "(total)/link-dir". This caused all leaf nodes to be colored
as Normal.
Split build_coloring_map into two stacks: key_stack (for HashMap keys
matching the visualizer's ancestor chain) and fs_path_stack (for actual
filesystem type detection). For multi-arg invocations, the caller seeds
key_stack with the "(total)" root name but starts fs_path_stack empty,
so children resolve to real paths on disk.
https://claude.ai/code/session_01YKNARZMxcXeYyGZhHMurHA
0 commit comments