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:
parent
14a2c2dba8
commit
8cfffc49bc
@ -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 -%>
|
||||
|
Loading…
Reference in New Issue
Block a user