diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2013-08-28 20:02:02 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-28 22:57:28 +0400 |
commit | f21d2a786b7fa6e53bb09e6466185b26f7f30d98 (patch) | |
tree | fda31a9554fa84241199c9d12a455d79817c4642 /fetch-pack.c | |
parent | fbd4a7036dfa71ec89e7c441cef1ac9aaa59a315 (diff) |
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 'fetch-pack.c')
0 files changed, 0 insertions, 0 deletions