Filter excluded refs before scheduling tasks

excludedRefsPattern was only applied when building the push,
so matching refs were still queued and written to task storage
as no-op work. Check the pattern in Destination.wouldPushRef()
so those refs are skipped before a task is scheduled or persisted.

Change-Id: Iebfca8a5d025bef57894d67578668422f05a56ad
6 files changed
tree: 58ab4cafbcbad3790318ba153717e4753f427e0a
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE