Skip to content

Conversation

@chrisgavin
Copy link
Contributor

This avoids pushing refs/* all in one request and instead splits all ref changes into batches of 25. This might help with Git servers that are unable to handle a large push all at once.

@chrisgavin chrisgavin merged commit bc47c38 into main Feb 14, 2025
7 checks passed
@chrisgavin chrisgavin deleted the push-refs-batches branch February 14, 2025 13:47
patrikpolyak added a commit to patrikpolyak/codeql-action-sync-tool that referenced this pull request Sep 16, 2025
github#129 introduced this logic, however it created batches of 100 refspecs with overlaps between the pushes (0-100, 25-125 etc.) causing unnecessary duplication of work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants