aviator-co / av

A command line tool to manage stacked PRs with Aviator
https://aviator.co
MIT License
148 stars 12 forks source link

`av stack tidy` doesn't fully remove a deleted branch from the state #361

Open Brookke opened 1 month ago

Brookke commented 1 month ago

Steps

  1. Create a branch via AV
  2. Delete branch via Git Couldn't see a way of deleting branches via AV
  3. Run stack tidy
  4. Run stack sync

image

Ideal solution

Ensure tidy actually deletes the branch from the av state

Brookke commented 1 month ago

In hindsight I think the actual process to delete the branch should have been to run orphan first, however would appreciate a way of getting out of this if that was forgotten

draftcode commented 1 month ago

av stack tidy was actually meant to be a stop-gap solution. Ideally it's better to transparently remove the internal av-CLI metadata...