Shallow clone fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | fetch-pack: Properly remove the shallow file when it becomes empty.fetch-pack.c | +1 | 0 replies | |
| 2/5 | upload-pack: Check for NOT_SHALLOW flag before sending a shallow to the client.upload-pack.c | +1 | 0 replies | |
| 3/5 | get_shallow_commits: Avoid memory leak if a commit has been reached already.shallow.c | +3 | 4 replies | |
| 4/5 | git-fetch: Reset shallow_depth before auto-following tags.git-fetch.sh | +2 | 0 replies | |
| 5/5 | fetch-pack: Do not fetch tags for shallow clones.fetch-pack.c | +2 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Shallow clone fixes
This series fixes a number of small problems in the shallow clone support in pu. After that it seems to work fairly well for me.
The one remaining problem I see is that a git-fetch to deepen the tree doesn't take into account the commits that the client already has. For instance, on the Wine tree, a "git-clone --depth 1" downloads 4655 objects, and a "git-clone --depth 2" downloads 4660, so I'd expect that after the depth 1 clone a "git-fetch --depth 2" would only have to download 5 objects, but currently it downloads 4650 again.
Signature · 1 line
Alexandre Julliard