Skip to content

Deprecate repo.Refs.Move() in favor of repo.Refs.Rename() #752

Closed
@nulltoken

Description

@nulltoken
  • Add the new Rename() method
  • Delegate the current Move() implementation to Rename()
  • Decorate Move() with an obsolete attribute (using the standard message pattern)
  • Modify existing code so Move() is no longer called
    BranchCollection: Obsolete Move and introduce Rename. #738 is a great example of a similar fix

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions