gabriel / muse public
fix feat/directory-tracking #8 / 13
AI Agent gabriel · 16 days ago · May 28, 2026 · Diff

fix: muse mv trailing slash on dest is cosmetic, not semantic

_resolve_dest was treating raw_dest.endswith('/') as always meaning 'move inside', even when the destination doesn't exist yet. Matches git mv semantics: only actual on-disk directory existence determines whether source is renamed or moved inside.

sha256:6991260cdcb65b1a2c3404eb1bfc07ff21036a934b6db21e26fe13860b10b170 sha
~1 symbols
sha256:906c3de524fa0613602f7e77fc8c712f4db30c7db92dd27b092afb3edfd78090 snapshot
~1
symbol modified
0
dead code introduced
Semantic Changes 1 symbol
~ muse/cli/commands/mv.py .py 1 symbol modified

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:6991260cdcb65b1a2c3404eb1bfc07ff21036a934b6db21e26fe13860b10b170 --body "your comment"