Skip to content

adopt: detect cycles #115

Description

@boneskull

It's theoretically possible to use gh stack adopt to create a cycle wherein branch a's parent is branch b; branch b's parent is branch c; and branch c's parent is branch a.

Let's prevent that; introducing a cycle should be an error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions