Changed Files Between Commits (BB-10390)

Issue #9279 open
Willem D
created an issue

I need to get a list of files that were changed between commit X and commit Y? These commits do not necessarily follow directly on each other.

This frontend feature is similar to what I require in the API.

Comments (15)

  1. Michael Frauenholtz staff

    Hi @Willem D

    Right now we have one API endpoint to get a diff between two commits. The URL for the diff above is Unfortunately this can also time out for large diffs, as it does here. We don't currently have a way to view just the changed files between two commits, nor do we have pagination for a diff. I will add a ticket for this to our backlog to be prioritized. Keep an eye on this issue for updates.


  2. Willem D reporter

    Hey @Stan B your code looks really good, I like the proper use of interfacing for different providers.

    In (BitbucketService.cs) see you're using the API v2 directly which is what this issue is all about. Your project works well for viewing project statistics across Github and Bitbucket, but it is unable to display the files that were changed between each commit for bitbucket at least.

    As you've also mentioned just does not compare ;-) to Also I now see Github now suggests not to compare between more than 250 commits apart.

    Thanks for sharing, it was an interesting read. I have now "stopped watching" this issue.

  3. Log in to comment