summaryrefslogtreecommitdiff
path: root/t/t4211/expect.simple-main
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2018-09-12 08:47:38 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-13 13:57:31 -0700
commite68302011c902961bc55db5eec9b9e32acd114ca (patch)
tree37d917b19f085ac99f8ada98e6a6fa2f515742e7 /t/t4211/expect.simple-main
parentfetch-object: unify fetch_object[s] functions (diff)
downloadtgif-e68302011c902961bc55db5eec9b9e32acd114ca.tar.xz
fetch-object: set exact_oid when fetching
fetch_objects() currently does not set exact_oid in struct ref when invoking transport_fetch_refs(). If the server supports ref-in-want, fetch_pack() uses this field to determine whether a wanted ref should be requested as a "want-ref" line or a "want" line; without the setting of exact_oid, the wrong line will be sent. Set exact_oid, so that the correct line is sent. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4211/expect.simple-main')
0 files changed, 0 insertions, 0 deletions