commit | fefba17b04224e9346a50f6e66944142f4878179 | [log] [tgz] |
---|---|---|
author | Martin Fick <mfick@codeaurora.org> | Wed Oct 16 16:12:32 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Oct 16 16:12:32 2019 +0000 |
tree | a12841bd616b8db55bca7c1cd941b31602d61cc7 | |
parent | e5881ace0e39fdd15a3ce42d1626ebaf62595cbf [diff] | |
parent | 3ddf835c203565dbd415f468e0d40eac1b815c63 [diff] |
Merge "Fix firing pending "..all.." events on startup"
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java b/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java index cdb32af..dbdb325 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java
@@ -614,6 +614,9 @@ if (!config.replicatePermissions() && RefNames.REFS_CONFIG.equals(ref)) { return false; } + if (PushOne.ALL_REFS.equals(ref)) { + return true; + } for (RefSpec s : config.getRemoteConfig().getPushRefSpecs()) { if (s.matchSource(ref)) { return true;