aboutsummaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-04-16 17:53:28 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2012-04-20 15:34:00 +0000
commit26f1354edae2f24da85c2860b6739cbd4821115f (patch)
treecddb7fab77bb7bdfda7ac615adf09301f64454ad /HACKING
parent28e43783e5876ebf6a8684ea85c51ff03403e23d (diff)
docs: update gerrit publish refs
since gerrit 2.3 pushing changes to refs/for/ is deprecated in favour of using refs/publish/. Change-Id: I6244b9645da2144921583bd9778a95c563fac89f Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/567 Tested-by: jenkins
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING4
1 files changed, 2 insertions, 2 deletions
diff --git a/HACKING b/HACKING
index 7cd5b235..9eb41a5c 100644
--- a/HACKING
+++ b/HACKING
@@ -69,12 +69,12 @@ to instruct git locally how to send off the changes.
-# Add a new remote to git using Gerrit username:
@code
git remote add review ssh://USERNAME@openocd.zylin.com:29418/openocd.git
-git config remote.review.push HEAD:refs/for/master
+git config remote.review.push HEAD:refs/publish/master
@endcode
Or with http only:
@code
git remote add review http://openocd.zylin.com/p/openocd.git
-git config remote.review.push HEAD:refs/for/master
+git config remote.review.push HEAD:refs/publish/master
@endcode
-# You will need to install this hook, we will look into a better solution:
@code