What does Approve button do with changeset on bitbucket.org?

BitbucketChangeset

Bitbucket Problem Overview


When using Bitbucket for source control, there's an "Approve" button that appears at the upper right of the commit page:

Bitbucket Approve Button

It appears to generate an activity message in the repositories overview page:

enter image description here

Is that all it does? What is the intended purpose of that button? Is it just a social feature?

Bitbucket Solutions


Solution 1 - Bitbucket

One use case is when a pull request gets a certain number of approvals, then it gets merged, either automatically or manually.

Thus it becomes easy to filter all the pull requests which are ready to be merged.

It's quite a common feature in code review tools. I have found it to be almost identical in GitLab too.

Solution 2 - Bitbucket

The question was about commits, not pull request. I just created a new pull request from an approved commit and there was no automatic approval on the pull request from the same reviewer who approved the commit. Social feature indeed.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionandrybakView Question on Stackoverflow
Solution 1 - BitbucketshakhawatView Answer on Stackoverflow
Solution 2 - Bitbucketuser14941796View Answer on Stackoverflow