Browse Source

Merge pull request #40 from drieks/develop

mirror notes
pull/52/head
Adrian 8 years ago committed by GitHub
parent
commit
21427ecf02
  1. 1
      src/main/java/com/englishtown/bitbucket/hook/MirrorRepositoryHook.java

1
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)

Loading…
Cancel
Save