Skip to content

Unable to navigate in the stack tree #1

@evertonstz

Description

@evertonstz

Hi! First of all I wanna say this project in a hidden gem, its something I have been looking for since I discovered git stacks, I am definitely spread the word about it where I can.

Now, about the issue, it seems I might have a bug with the stack navigation:

help on  help via 🐹 v1.26.1
❯ ez status

Branch: help
● Parent: feat/test2
● Children: none (top of stack)
● PR: not yet created
  → Run `ez submit` to create a PR.
● Stack position: 3 deep (main → feat/test1 → feat/test2 → help)
● Commits: none
● Working tree: clean
[ok | 85ms]

help on  help via 🐹 v1.26.1
❯ ez list
     BRANCH                         PR       CI     AGE    PORT    STATUS
--------------------------------------------------------------------------------
     main (trunk)                   -        -      13d    -       -
     feat/test1                     #1       -      24m    13045   1S
     feat/test2                     #2       -      19m    13046   clean
 *   help                           -        -      19m    14718   clean
[ok | 760ms]

help on  help via 🐹 v1.26.1
❯ ez down
✗ git command failed: fatal: 'feat/test2' is already used by worktree at '/Users/evertoncorreia/Git/dhw/.worktrees/feat-test2'
[exit:1 | 60ms]

help on  help via 🐹 v1.26.1
❯ ez switch main
✗ git command failed: fatal: 'main' is already used by worktree at '/Users/evertoncorreia/Git/dhw'
[exit:1 | 64ms]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions