f6159bed86
Gerrit always check Permission.PUSH_MERGE on branches starting with 'refs/for' even for the push bypassing Gerrit, e.g. creating a new branch using a merge with command like: git push origin <merge-sha1>:refs/heads/<new-branch-name> As this is not for review, the `Push Merge` is expected to exist on 'refs/heads/<new-branch-name>', not on 'refs/for/refs/heads/<new-branch-name>'. This commit fix it to avoid user confusion when granting access to 'refs/heads/*' doesn't allow them to push directly any merge commits bypassing the code review. Issue: 1072 Change-Id: Ib76d72a3d6435429b14f696f2833ca5cd847ba63 |
||
---|---|---|
.. | ||
.settings | ||
src | ||
.gitignore | ||
BUCK |