tg.sh: implement full GIT_ALTERNATE_OBJECT_DIRECTORIES quoting rule
commitfc320c60a135b58e9a82eaefbfc24010a88e1e00
authorKyle J. McKay <mackyle@gmail.com>
Thu, 15 Jun 2017 01:10:51 +0000 (14 18:10 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 15 Jun 2017 01:10:51 +0000 (14 18:10 -0700)
treefa63b4a1a3f7a2458d79294d7394a29e60e6db74
parentf6f0e0b31e9ac19b5112ec629b4ed11bfa882a04
tg.sh: implement full GIT_ALTERNATE_OBJECT_DIRECTORIES quoting rule

The full rule isn't just whether or not the directory contains a ":"
(or in this case conservatively alternatively a ";") it's actually
also whether or not it starts with a ".  While the computed temporary
directory name really should never start with a quote, never say
never and just include a check for that too since it's really triial
to add another simple check like that.

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