Skip to content

fix(drop): support filenames, paths, and directories as targets#82

Merged
narnaud merged 1 commit intomainfrom
fix-drop
Mar 11, 2026
Merged

fix(drop): support filenames, paths, and directories as targets#82
narnaud merged 1 commit intomainfrom
fix-drop

Conversation

@narnaud
Copy link
Owner

@narnaud narnaud commented Mar 10, 2026

resolve_target now matches working change files by path (not just short
ID) and falls back to filesystem paths with changes. drop_file handles
directories by restoring tracked changes and cleaning untracked files.
Moved the filesystem-path fallback from fold into the shared resolver so
all commands benefit.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

resolve_target now matches working change files by path (not just short
ID) and falls back to filesystem paths with changes. drop_file handles
directories by restoring tracked changes and cleaning untracked files.
Moved the filesystem-path fallback from fold into the shared resolver so
all commands benefit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@narnaud narnaud merged commit d7aff5f into main Mar 11, 2026
4 checks passed
@narnaud narnaud deleted the fix-drop branch March 11, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant