fetch: refactor calculation of remote list
commita1743343f410290578fbd6e0ada50b8cdf1e7df8
authorJonathan Tan <jonathantanmy@google.com>
Fri, 8 Dec 2017 15:58:43 +0000 (8 15:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Dec 2017 17:58:51 +0000 (8 09:58 -0800)
tree023e686387651e79d00b1ce83c6eb13cb28d325d
parent0b6069fe0a1e694d632e54a43fc6e546e83edad6
fetch: refactor calculation of remote list

Separate out the calculation of remotes to be fetched from and the
actual fetching. This will allow us to include an additional step before
the actual fetching in a subsequent commit.

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