chiark / gitweb /
dgit: fetch: Reorganise cmd_fetch
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 4 Jul 2018 00:18:25 +0000 (01:18 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 4 Jul 2018 00:28:05 +0000 (01:28 +0100)
commit8a52fe8f9f3fc66be492c54a19e2ba7890aa0557
tree003072123eb89cfa5493c98bdd5816a7aaa69334
parentd86eda75da28ce5765d16bdc47d2cc88bb82a9fe
dgit: fetch: Reorganise cmd_fetch

This slightly odd construction is actually how the return value from
fork_for_multisuite should be handled.  It now looks much more like
the calling pattern in pull().

No functional change: if $multi_fetched is falseish, we call
fetch_one, and then, no matter what, we finish 0.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit