We're currently testing git as source control for our new projects. We're using TFVC for many years and we're used to the way it works. So far, pretty much everything works as expected but there's something really simple I cannot figure out : in TFVC, it's really easy to get the list of files changed between 2 not consecutive commits :
But I found no way to do this with a git repository in VS2015 or with the web interface of TFS2015 update 2 :
I only can compare a commit with his parent commit :
I also found a way to compare an individual file between 2 commits but not the whole repository :
Is it just me not looking at the right place and if not, why such a basic feature is not implemented ? It's the kind of operation we use daily for review or bug hunting.
I know there's other ways with external tools (GUI and command line) to achieve that but I would want to stay is VS/TFS as much as possible to reduce friction for everybody in the team.
Thanks.
There is not a way to compare two arbitrary commits in Visual Studio 2015. However, this functionality will be included in Visual Studio 2017.
In Visual Studio 2017 it will be possible to get the changes between two different commits. This functionality can be accessed via selecting two commits on the history page and choosing the "Compare Commits..." command:
This functionality is present in the preview releases of Visual Studio 2017, so you can try it out and see if it is what you are looking for.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With