Skip to content

Support git branchless move --reparent #1537

@hjfreyer

Description

@hjfreyer

Description of the bug

The use case is the same as git amend --reparent, but in particular, sometimes I do a regular git amend and get a note that I'll need to run git restack --merge, and now it's too late to run git amend --reparent.

So in particular, the steps to reproduce are:

  • Run git move -s foo -d bar --reparent
    Or perhaps even:
  • Run git restack --reparent

(Sorry if a Bug isn't the right venue for this, but I figured it was a sufficiently direct feature request that it made sense as an issue, rather than a discussion.)

Expected behavior

The move happens, but without any changes being applied to the trees of the moved patches.

Actual behavior

Not supported.

Version of rustc

No response

Automated bug report

No response

Version of git-branchless

No response

Version of git

No response

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