diff options
author | Edwin Kempin <edwin.kempin@sap.com> | 2010-10-28 13:17:59 +0200 |
---|---|---|
committer | Edwin Kempin <edwin.kempin@sap.com> | 2010-10-28 13:17:59 +0200 |
commit | d5dbf2a41a1f6585d41fdc403e01da5b33fd5df2 (patch) | |
tree | 330f7e9324a67c5dc993a8dd2ca06c020faf693f | |
parent | 9741bab652da88173d193e2709fdf6cc1bb53b4e (diff) |
fix push refspecs in example 'replication.config'
The push refspecs that were given in the example
'replication.config' file (e.g. '+refs/heads/*')
were causing an IllegalArgumentException
"Invalid wildcards +refs/heads/*" on Gerrit
startup.
With this change the push refspecs in the example
'replication.config' are now corrected and look
now e.g. like this: '+refs/heads/*:refs/heads/*'
Signed-off-by: Edwin Kempin <edwin.kempin@gmail.com>
-rw-r--r-- | Documentation/config-replication.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/config-replication.txt b/Documentation/config-replication.txt index abb6a9791c..d0d8519bda 100644 --- a/Documentation/config-replication.txt +++ b/Documentation/config-replication.txt @@ -42,8 +42,8 @@ different hosts: url = mirror1.us.some.org:/pub/git/${name}.git url = mirror2.us.some.org:/pub/git/${name}.git url = mirror3.us.some.org:/pub/git/${name}.git - push = +refs/heads/* - push = +refs/tags/* + push = +refs/heads/*:refs/heads/* + push = +refs/tags/*:refs/tags/* threads = 3 authGroup = Public Mirror Group authGroup = Second Public Mirror Group |