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
220 stars 51 forks source link

Create synthetic ref for fetches in submodules #751

Closed novalis closed 4 years ago

novalis commented 4 years ago

Subsequent fetches can use these for negotiation and only download new objects instead of downloading the entire history.

The tests are changed to mostly ignore all synthetic refs, since changing evrey test would be a nightmare. But a few tests have to care about synthetic refs because they are directly testing synthetic refs. Fortunately, there are no cases of tests that care about some but not all such refs.

novalis commented 4 years ago

This is based on Chaim's #748.