]> git.ipfire.org Git - thirdparty/git.git/commit
fetch-pack: refactor process_acks()
authorJonathan Tan <jonathantanmy@google.com>
Fri, 9 Apr 2021 01:09:59 +0000 (18:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Apr 2021 04:50:21 +0000 (21:50 -0700)
commit8102570374a87c032bff2d7114c67390f55f9a1b
treef8f3e5e8c608bbe61b07910ea1bc03cc05d56226
parent6db01a73085b8f34d958dd537bbca82a39187885
fetch-pack: refactor process_acks()

A subsequent commit will need part, but not all, of the functionality in
process_acks(), so move some of its functionality to its sole caller
do_fetch_pack_v2(). As a side effect, the resulting code is also
shorter.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fetch-pack.c