Skip to content

adopt: detect cycles #115

@boneskull

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions