Details
-
Bug
-
Resolution: Duplicate
-
Medium
Description
Assume a user is not allowed to push to a specific branch. That user made a new commit on that branch in a local repository, and added a tag onto the commit.
Pushing the tag will cause the commit to be pushed as well, though the commit wouldn't show in the history of the branch, but rather it will show when the specific commit URL is searched.
Steps to reproduce:
- Create new branch (and lock it on bitbucket).
With a user who is not allowed to push to that branch: - Make a commit
- Add tag on that commit
- Push to bitbucket
- Go the url for that specific commit
It will show in a specific commit URL:
https://bitbucket.org/username/repositoryname/commits/xxxxxxx
But it won't show up in the branch commit history log:
https://bitbucket.org/digipolisgent/username/repositoryname/commits/branch/branchname