Details
-
Suggestion
-
Resolution: Unresolved
Description
I'd love to see ahead/behind info when fetching branches via the API.
Basically, what you see here: {{https://bitbucket.org/
{owner}/
{repo_slug}/branches/}}
Use case:
I want to merge a branch when responding to a webhook on a remote repo only if the branch is exactly 1 commit ahead, and 0 commits behind.