Skip to content

sync says Nothing to do while a file edit's base is behind the pin #377

Open

Description

@willgosnold

When a change's file edit has a base copy older than the current pin, for example one merged in from a branch, or one that becomes live again after the user removes a hand-written replace over it, status reports it as stale and says run sync. But patchbook sync returns early with Nothing to do because the pin hasn't moved. The edit only catches up after upstream moves again.

Reproduced on main (598249d) with a file edit whose base is behind the pin, and with #368's head through the removed-replace journey.

Expected: sync merges any edit whose base differs from the pinned upstream, even when the pin itself didn't move.

Found by the #317 fix-round owner on #368.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions