Page MenuHomePhabricator

Fix `--depth N` clones in Git
ClosedPublic

Authored by epriestley on Nov 11 2013, 12:44 AM.
Tags
None
Referenced Files
F19900856: D7554.diff
Mon, Mar 30, 6:28 AM
F19890696: D7554.id17066.diff
Thu, Mar 26, 4:59 AM
F19890270: D7554.diff
Wed, Mar 25, 8:54 PM
F19728594: D7554.id17045.diff
Feb 14 2026, 3:30 AM
F19626917: D7554.diff
Feb 4 2026, 8:44 PM
F19571538: D7554.id17066.diff
Feb 1 2026, 2:38 AM
F19530156: D7554.diff
Jan 19 2026, 9:14 PM
F19152942: D7554.diff
Dec 11 2025, 6:16 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