Skip to content

[bugfix/git_helper] Enable "all" option in text fallback delete_orphans checklist #9

@justinkumpe

Description

@justinkumpe

User Story: Enable "all" option in text fallback delete_orphans checklist

As a user running the Git helper script without whiptail/dialog (text fallback mode)

I want to be able to select all orphan branches for deletion at once using the 'all' keyword

So that I don't have to manually type each branch name when I want to delete all orphan branches

Acceptance Criteria:

When running the "Delete local branches not on remote" action in text fallback mode, entering 'all' at the prompt should select all available orphan branches for deletion
The 'all' keyword should be expanded to the full list of branch names before being passed to the deletion logic
The confirmation prompt should show which branches will be deleted
The behavior should match the intent of the 'all' option mentioned in the prompt text
Notes:

The text fallback UI's ui_checklist function tells users they can enter 'all', but currently returns 'all' as-is without expanding it to the actual list of options
The workaround is to manually enter each branch name space-separated
The 'all' functionality works in whiptail/dialog modes (they're graphical), but the text mode needs explicit handling

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions