diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2013-08-28 18:02:02 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-28 11:57:28 -0700 |
commit | f21d2a786b7fa6e53bb09e6466185b26f7f30d98 (patch) | |
tree | fda31a9554fa84241199c9d12a455d79817c4642 /builtin/tar-tree.c | |
parent | list-objects: mark more commits as edges in mark_edges_uninteresting (diff) | |
download | tgif-f21d2a786b7fa6e53bb09e6466185b26f7f30d98.tar.xz |
Add testcase for needless objects during a shallow fetch
This is a testcase that checks for a problem where, during a specific
shallow fetch where the client does not have any commits that are a
successor of the new shallow root (i.e., the fetch creates a new
detached piece of history), the server would simply send over _all_
objects, instead of taking into account the objects already present in
the client.
The actual problem was fixed by a recent patch series by Nguyễn Thái
Ngọc Duy already.
Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/tar-tree.c')
0 files changed, 0 insertions, 0 deletions