commit | 3639b7ba67e41351f83441e423e486edafce4f2a | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@digital.ai> | Sat May 16 13:59:16 2020 +0900 |
committer | David Pursehouse <dpursehouse@digital.ai> | Sat May 16 13:59:16 2020 +0900 |
tree | 039881fc6d34eed63871ef72ddbb6e724c513c6a | |
parent | 1f0fe75b94b94e99aaa52b65c0fbdf525ccf8560 [diff] | |
parent | 5e2ba318118f387d01b5146b3b4c7669fc8ee66e [diff] |
Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: Fix firing pending "..all.." events on startup Change-Id: I04f042199fd8935bee987b8363956115a40e0872
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 d9431f4..432f8a5 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java
@@ -652,6 +652,9 @@ repLog.debug("Skipping push of ref {}; it is a meta ref", ref); return false; } + if (PushOne.ALL_REFS.equals(ref)) { + return true; + } for (RefSpec s : config.getRemoteConfig().getPushRefSpecs()) { if (s.matchSource(ref)) { return true;