update.sh: use quarantine area for git mirror fetches
commitd562136c99322f0536d6e37f9186b9f1395d893d
authorKyle J. McKay <mackyle@gmail.com>
Fri, 18 Sep 2020 04:50:52 +0000 (17 21:50 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 18 Sep 2020 04:50:52 +0000 (17 21:50 -0700)
treeb077f7f994d31bf063255bfa8060a4d93403a9ea
parentdc0653ec96b6be9f138f3b7ada6384115a06c692
update.sh: use quarantine area for git mirror fetches

Fetch git mirror updates into a quarantine area.

Automatically discard the quarantine area if there is a
problem with the fetch or there are no ref changes fetched.

Avoid using a quarantine area when the mirror is from a
foreign vcs to prevent breaking the foreign vcs state when
the quarantine area is discarded on a bad fetch.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
jobd/update.sh