Issue 411: Gerrit SSHD accepts pushing tags for branches
Status:  Released
Owner: ----
Closed:  Oct 2012
Reported by di...@google.com, Jan 21, 2010
Affected Version: 2.1.1.1
Environment:

What steps will reproduce the problem?
1. Got a clone of the linus-2.6 tree
2. Wanted to push a Gerrit managed branch forked from 2.6.32 so I ran:
$ git push <remote> v2.6.32:refs/heads/somedir/mybranch
(with the proper privileges in Gerrit)

What is the expected output? What do you see instead?
Should error. It succeeds. It later creates other false problems 
(replication errors, fails merging when submitting changes to those 
"branches", etc).


Please provide any additional information below.

Jan 22, 2010
#1 sop@google.com
(No comment was entered for this change.)
Status: Accepted
Labels: Milestone-Next
Jan 25, 2010
#2 sop@google.com
Should be fixed as part of change I62401d80cbb885180614a4f20a945f5611de8986.
When doing per-branch permissions I also tried to block non-commits from
being used where a Push Branch permission was being applied.  Since those
default to refs/heads/* namespace, we should stop non-commits from being
pushed as a branch head.
Status: Fixed
Labels: -Milestone-Next FixedIn-2.1.2
Oct 21, 2012
#3 sop@google.com
(No comment was entered for this change.)
Status: Released