Page MenuHomePhabricator

Fix `--depth N` clones in Git
ClosedPublic

Authored by epriestley on Nov 11 2013, 12:44 AM.
Tags
None
Referenced Files
F18829931: D7554.diff
Oct 25 2025, 2:23 AM
F18623913: D7554.diff
Sep 15 2025, 6:04 PM
F18611369: D7554.diff
Sep 14 2025, 7:03 AM
F18584707: D7554.diff
Sep 11 2025, 1:24 PM
F18105319: D7554.id17066.diff
Aug 10 2025, 5:36 PM
F18102216: D7554.id.diff
Aug 9 2025, 7:15 PM
F18096908: D7554.diff
Aug 8 2025, 10:00 AM
F17943399: D7554.diff
Jul 31 2025, 8:21 AM
Subscribers

Details

Reviewers
hach-que
btrahan
Maniphest Tasks
T4079: Git hosting does not support shallow clone
Restricted Maniphest Task
Commits
Restricted Diffusion Commit
rPac7c73922696: Fix `--depth N` clones in Git
Summary

Ref T2230. Fixes T4079. As it turns out, this is Git being weird. See comments for some detials about what's going on here.

Test Plan

Created shallow and deep Git clones.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped