diff options
author | Martin Fick <mfick@codeaurora.org> | 2019-10-16 16:12:32 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-10-16 16:12:32 +0000 |
commit | fefba17b04224e9346a50f6e66944142f4878179 (patch) | |
tree | a12841bd616b8db55bca7c1cd941b31602d61cc7 | |
parent | e5881ace0e39fdd15a3ce42d1626ebaf62595cbf (diff) | |
parent | 3ddf835c203565dbd415f468e0d40eac1b815c63 (diff) |
Merge "Fix firing pending "..all.." events on startup"v3.1.0-rc0
-rw-r--r-- | src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ public class Destination { 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; |