Skip to content

wp patch create does not always count up #29

@sun

Description

@sun

Problem

  • If e.g. the first patch file for a plugin (0001) has been removed but there are further patch files (0002, 0003, …), then a new patch created with wp patch create gets some number (e.g. 0001 or 0003) instead of the expected highest + 1.

Expectation

  • Patch files are numbered sequentially. Always currently highest number + 1.
  • Only exception is when files no longer exist in the filesystem. The package is not supposed to track history.

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