Skip to content

feature request: compact move action display with common ancestor path collapsing #741

@rtalexk

Description

@rtalexk

Did you check existing requests?

  • I have searched the existing issues

Describe the feature

When displaying move operations in the confirmation dialog, collapse paths that share a common ancestor into a compact brace-diff format, eg:

before: MOVE tmux/.config/tmux/modules/gitmux.conf -> tmux/.config/tmux/modules/gitmux.conf_bak
after: MOVE tmux/.config/tmux/modules/ {gitmux.conf -> gitmux.conf_bak}

Provide background

When renaming files deep in a directory tree, the current display format repeats the full path twice. For deeply nested paths this makes it hard to quickly spot what actually changed, the eyes have to scan both strings and diff them manually. The shared parent path is visual noise in that context.

A collapsed format that shows the common ancestor once and wraps only the differing parts in braces (eg. {old -> new}) makes the change immediately legible, especially when the diff is a small typo or extension change at the end of a long path.

What is the significance of this feature?

nice to have

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions