]> git.ipfire.org Git - thirdparty/git.git/commit - fetch-pack.c
fetch-pack: refactor add_haves()
authorJonathan Tan <jonathantanmy@google.com>
Fri, 9 Apr 2021 01:10:00 +0000 (18:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Apr 2021 04:50:21 +0000 (21:50 -0700)
commit57c3451b2e36d003aa7fc398c644ce71ab668b5e
tree3e58dbc7b90c7bd363ce25425d41f241dc5f1faf
parent8102570374a87c032bff2d7114c67390f55f9a1b
fetch-pack: refactor add_haves()

A subsequent commit will need part, but not all, of the functionality in
add_haves(), so move some of its functionality to its sole caller
send_fetch_request().

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