ankitbko / vscode-pull-request-azdo

Azure Devops Pull Requests for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ankitbko.vscode-pull-request-azdo
MIT License
66 stars 22 forks source link

[Feature Request] Show iterations and compare between them #36

Closed ShaniFelig closed 3 years ago

ShaniFelig commented 3 years ago

I would be AMAZING if the extension can provide the ability to compare the differences between commits on a PR. This way there can be version tracking within the PR itself, allowing to clearly understand the development process step by step (commit by commit)

ankitbko commented 3 years ago

If you checkout a pull request, then VS Code itself will provide list of commits on the branch and you can look diff for each of them.. Then you can also look how a single file has changed over previous commits.

ShaniFelig commented 3 years ago

Can you please elaborate on what you mean by "if you checkout a pull request"?

ankitbko commented 3 years ago

In the PR Description page there is button called Checkout. It essentially just performs git checkout on the source branch of PR. You can manually checkout the branch and VS Code git extension itself should show you the commits in the branch.

image

ShaniFelig commented 3 years ago

Hi, I tried comparing commits as you wrote but it is not quite the solution I am looking for.

My goal is to compare iterations of the PR (not every commit that the author did). In other words, I want to compare the versions of the code that were pushed to the PR itself (and not every commit that was done along the way).

For example, a PR with 4 iterations, and the iterations can be compared here: image

As you can see there are many more commits: image

ankitbko commented 3 years ago

Ah I see. You need to compare between iterations. This is a new feature request then.

ShaniFelig commented 3 years ago

Thanks @ankitbko ! Would love to know when this feature is available