Allow locking refs whilst filtering for fetch requests

Allow the lock/unlock pattern when filtering the refs to fetch. This
mechanism is used for making sure that the refs selected for the fetch
replication operation do not move throughout the replication process.

This is needed for preventing a ref-update operation happening
concurrently with the replication process invalidating the filtering
validity.

Change-Id: I6a30aff43a81f00d671554186eb6e796446b148d
2 files changed
tree: c56303cae0ca657f408d4e83e58906b515dcc87d
  1. example-setup/
  2. src/
  3. .gitignore
  4. BUILD
  5. Jenkinsfile
  6. LICENSE