mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-18 18:04:17 +00:00
Tracked repos are shallow blob:none partial clones, so they lack the blobs of intermediate commits. Since git 2.45.1, a local upload-pack refuses to lazy-fetch missing objects, so both the candidate clone and the publish fetch back into the checkout failed with "fetch-pack: invalid index-pack output" once more than one upstream commit arrived. Re-enable lazy fetching only for these two local transports, whose source is our own checkout, and pass origin's auth env so private repos can supply the blobs. Fetched blobs are hash-addressed, so the published tree still matches the audited revision. Closes #667