HACKING: add note about refs/for/master
authorJerome Forissier <jerome.forissier@linaro.org>
Fri, 14 Dec 2018 15:31:17 +0000 (16:31 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Tue, 8 Jan 2019 09:46:04 +0000 (09:46 +0000)
commit9388915dc62198b3653672584f81574bd94484a6
treed9e09102d0b6ea2d8768188aa5a3e0e613260055
parenta6f5a167053fb2602f98671815f79d3382412d62
HACKING: add note about refs/for/master

The fact that one needs to always push contributions to a single
remote reference (refs/for/master) might seem odd to people unfamiliar
with Gerrit. GitHub, for instance, hosts personal repositories where
developers typically create topic branches for each contribution and
use a proprietary mecanism to request a review (the "pull request").
More generally, one normally does not expect to be able to push
non-fast-forwarding stuff to a remote branch.

This commit adds a clarifying note to the patch guidelines.

Change-Id: Ia750b815b82b18e92b6109c07f451000dcbecf9b
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-on: http://openocd.zylin.com/4806
Tested-by: jenkins
Reviewed-by: Christopher Head <chead@zaber.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
HACKING