Add support for specifying which refs to replicate

Sometimes one would like to only replicate a subset of the refs in
a git repo, such as not replicating refs/changes.

Change-Id: Ibf6c02d59c6901f82be6a96b676b1bd28c4b61f7
This commit is contained in:
Monty Taylor 2019-01-09 20:34:12 +00:00
parent 14a2c2dba8
commit 8cfffc49bc
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 5 additions and 0 deletions

View File

@ -27,4 +27,9 @@ defaultForceUpdate = <%= @replication_force_update %>
projects = <%= project %>
<% end -%>
<% end -%>
<% if replication['push'] != nil -%>
<% replication['push'].each do |pushref| -%>
push = <%= pushref %>
<% end -%>
<% end -%>
<% end -%>