tg-update.sh: merge into base all at once
commitfcf472be66717cdd9626a4f7b3977d4362ef42a8
authorKyle J. McKay <mackyle@gmail.com>
Wed, 18 Jan 2017 05:44:18 +0000 (17 21:44 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 18 Jan 2017 05:44:18 +0000 (17 21:44 -0800)
tree9477850acb90a04b62a05748ba76865cccfa9c13
parentf2cf25c17a254905fb00b861823e9b73327db7e6
tg-update.sh: merge into base all at once

Instead of merging each out-of-date dependency into the base
immediately after it's been updated, wait until after all the
dependencies have been updated and then merge them into the
base all at once in the same order they would have been if
they'd been merged in one-at-a-time.  This is just begging to
be done as an octopus merge when more than one dependencie is
out-of-date.

This should also eliminate a lot of unnecessary checkouts
and updates of the working tree that can happen in a complex
dependency tree.

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