fetch: refactor fetch_refs into two functions
authorBrandon Williams <bmwill@google.com>
Wed, 27 Jun 2018 22:30:20 +0000 (15:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jun 2018 16:33:29 +0000 (09:33 -0700)
commit05c4422676f6e854aff0277984f4eadcd8912d56
tree62f80aae5d165ecf31dd1b1a94e8ce809908f667
parent14b8ced3765b8916683b445f5cc3d6d80acc5f93
fetch: refactor fetch_refs into two functions

Refactor the fetch_refs function into a function that does the fetching
of refs and another function that stores them.  This is in preparation
for allowing additional processing of the fetched refs before updating
the local ref store.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c