Skip to content

Conversation

@patrikpolyak
Copy link

#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.

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.
Copilot AI review requested due to automatic review settings September 16, 2025 07:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug in the batching logic for pushing Git refspecs where batches were incorrectly sized and overlapping. The fix changes the batch size calculation to properly create non-overlapping batches of 25 refspecs each.

  • Corrects batch size calculation from 100 to 25 refspecs per batch
  • Eliminates overlapping batches that caused duplicate work

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@patrikpolyak
Copy link
Author

Just noticed #147 on the same already, closing 😅

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.

1 participant