sourcegraph / zoekt

Fast trigram based code search
Apache License 2.0
736 stars 83 forks source link

zoekt-mirror-gerrit: fix fetch for meta/config #777

Closed xavier-calland closed 6 months ago

xavier-calland commented 6 months ago

The current configuration creates a conflict with default fetch config +refs/heads/*:refs/heads/*.

The first fetch is ok but once a local "refs/heads/meta/config" exists fetch fails because 2 fetch rules match for local "refs/heads/meta/config" : "refs/meta/config" and "refs/heads/meta/config"

Changing local ref name fixes the problem