Skip to content

set-parent: should allow to set a branch as parent that is checked out in another worktree #6279

Closed

Description

@kevgo

Scenario:

  • worktree 1 has branch feature-1 checked out
  • worktree 2 has branch feature-2 checked out
  • I realize that feature-2 should be a child of feature-1
  • I run git town set-parent

expected behavior:

  • I can select branch feature-1

actual behavior:

  • the dialog grays out branch feature-1 and doesn't let me select it, because it belongs to another worktree

notes:

  • setting the branch without the dialog by running git town set-parent feature-1 works, it's really only the dialog that is broken here

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions