Skip to content

Test new compare commands #4860

@alexr00

Description

@alexr00

Refs: #4720

Complexity: 2

Create Issue


  1. Install the pre-release version of the extension.
  2. Check out a PR.
  3. Make a change on one of the files in the PR on the PR branch and commit it, but don't push.
  4. Make another change to the file and don't commit it.
  5. In the "Changes" view, right click on the file you made changes on. Verify that you see 2 new "Compare" commands: "Compare Base With Pull Request Head (readonly)" and "Compare Pull Request Head with Local".
  6. Run the "Compare Base With Pull Request Head (readonly)" action. Verify that the diff that opens only contains changes that are on the remote PR branch. Your commit and you working state should not be included. (left is merge base, right is PR head)
  7. Run the "Compare Pull Request Head with Local" action. Verify that the diff that opens only contains changes between the PR remote head and your local file state. (left is PR head, right is local file state)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions