levelbreaded / gumption

CLI tool to manage stacked branches on Git
3 stars 0 forks source link

if only 1 branch, display it in the list of branches #10

Closed Opeyem1a closed 2 months ago

Opeyem1a commented 2 months ago

This is a suggestion, the problem outlined below can be solved in a number of ways.

In the hop command, we filter out the current branch from the list of branches shown to select If there is only 1 branch, and you are on that branch, this means the UI renders nothing and it looks like the command is stalling.

This PR renders the only branch if there is only 1

Opeyem1a commented 2 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Opeyem1a and the rest of your teammates on Graphite Graphite