Skip to content

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

Merged
keegancsmith merged 1 commit into
sourcegraph:mainfrom
xavier-calland:fix-gerrit-meta-config
May 6, 2024
Merged

zoekt-mirror-gerrit: fix fetch for meta/config#777
keegancsmith merged 1 commit into
sourcegraph:mainfrom
xavier-calland:fix-gerrit-meta-config

Conversation

@xavier-calland

Copy link
Copy Markdown
Contributor

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

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
@cla-bot cla-bot Bot added the cla-signed label May 6, 2024
@keegancsmith keegancsmith merged commit 9f35cb1 into sourcegraph:main May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants