Closed dziemba closed 4 years ago
this sounds believable. We probably have to add git-config
"remote.origin.fetch=+refs/heads/:refs/heads/"
somewhere as a step after cloning.
Thank you for the fix!
can you confirm that it works as expected?
Yes, it works fine :+1:
We're using
zoekt-indexserver
with aGithubOrg
mirror_config. Everything else (especially branches, origins etc.) is not changed from the default values.Commit 47ff3037 changed how git fetching is configured.
Repos that are cloned from github get indexed correctly initially, but then the
git fetch
calls do not fetch the required refs anymore.Previous behavior:
Current behavior:
The behavior is the same with git 2.20.0 and 2.24.0.
I'm not a git expert, please let me know if you need more information.