Skip to content

Add a --diff ref..ref mode #5

Description

@Co-Messi

Body:

Currently actwhy infers changed files from the working tree versus upstream. A --diff ref..ref flag would let users simulate an arbitrary range — for example what a merge, a rebase, or a specific PR's diff would trigger.

Scope:

  • Accept --diff main..feature (and the two-dot / three-dot forms) on the push and pr subcommands.
  • Resolve the changed-file list from git diff --name-only <range>.
  • Fall back cleanly (with a clear message) when the refs do not exist locally.

This is mostly a src/cli/ change; the core already accepts a file list.


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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions