In what seems to be a change caused by a recent update, I've noticed that sometimes pull requests I'm an approver on will silently switch to only showing the diff between the original PR commits and the earlier PR commits instead of the full diff between the PR branch and the destination branch. This typically happens when:
This is quite frustrating, since I almost always want to view the full diff. I want to know:
Hi Michael,
In Bitbucket Server 4.11, a new feature was added called iterative review. You can find out more about it in this blog post, the release notes, or the related JIRA ticket.
As a reviewer, iterative review allows you to easily see all of the changes since you last reviewed a pull request. As you've noticed, the diff view in a pull request now defaults to showing your unreviewed changes if they exist. Any changes an author pushes after you mark the pull request as "Needs Work" or "Approved" are considered unreviewed.
However, if you would prefer to see all changes in the pull request (the "effective diff", or what you've referred to as the "full diff"), you can select this option from the commit selector, which is above the file tree in the pull request diff view. Opening the commit selector will allow you to select between all changes in the pull request, your unreviewed changes (if they exist), or even the changes that a particular commit introduces.
IterativeReview.png
There is currently no way to disable showing the diff of unreviewed changes by default if unreviewed changes exist.
Kind regards,
Stefan Petrucev
Atlassian Bitbucket
Thanks @Stefan Petrucev this was exactly the toggle I was looking for.
As feedback, I think the UI could do a bit more to make this obvious, and it would be nice to be able to change the default behavior. A couple examples where this behavior has caused frustration for us:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.