From 5f3b576678fd996f2d5350aed809c84abbf27ce6 Mon Sep 17 00:00:00 2001 From: Dennis Rieks Date: Tue, 14 Feb 2017 14:56:59 +0100 Subject: [PATCH] mirror notes --- .../com/englishtown/bitbucket/hook/MirrorRepositoryHook.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/englishtown/bitbucket/hook/MirrorRepositoryHook.java b/src/main/java/com/englishtown/bitbucket/hook/MirrorRepositoryHook.java index c337db2..7774456 100644 --- a/src/main/java/com/englishtown/bitbucket/hook/MirrorRepositoryHook.java +++ b/src/main/java/com/englishtown/bitbucket/hook/MirrorRepositoryHook.java @@ -136,6 +136,7 @@ public class MirrorRepositoryHook implements AsyncPostReceiveRepositoryHook, Rep .argument("--force") // Canonical repository should always take precedence over mirror .argument("+refs/heads/*:refs/heads/*") // Only mirror heads .argument("+refs/tags/*:refs/tags/*") // and tags + .argument("+refs/notes/*:refs/notes/*") // and notes .errorHandler(passwordHandler) .exitHandler(passwordHandler) .build(passwordHandler)