twosigma / git-meta

Repository for the git-meta project -- build your own monorepo using Git submodules
http://twosigma.github.io/git-meta
BSD 3-Clause "New" or "Revised" License
219 stars 50 forks source link

Reduce ref negotiation during stitching #807

Closed novalis closed 3 years ago

novalis commented 3 years ago

We turn off negotiation entirely the first time we fetch a submodule. Thereafter, we only negotiate for refs from that submodule.

This contains two other minor changes: one removes an unused parameter and the other removes some useless code.

novalis commented 3 years ago

I tested this inside Two Sigma (as well as running the unit tests)