mirror of
https://github.com/Ar9av/obsidian-wiki.git
synced 2026-09-14 20:36:34 +08:00
754d917467
cmd_normalize warned on relative keys but still ran them through canonical() (os.path.abspath), which resolves them against the CWD and rewrote e.g. "-Users-x-github/abc.jsonl" to "/cwd/-Users-x-github/abc.jsonl", counted it as re-keyed, and persisted the corruption on a non-dry-run write. Preserve relative keys untouched (ckey = key), skip the re-key count for them, and only canonicalize absolute keys. normalize's dedup/canonicalize purpose applies to absolute keys only; for relative keys it is now a safe no-op. Collision merge logic is unchanged. AI-Agent: Claude Code AI-Session-IDs: session_01PPCNXmXUvemmyvWxrJ3D5E
7.4 KiB
Executable File
7.4 KiB
Executable File