tg: accomodate multiple git worktrees
commitd6b88d38bd54c8a3b77ffa1bdcfb1e4351a7f23f
authorKyle J. McKay <mackyle@gmail.com>
Wed, 25 Jan 2017 15:46:04 +0000 (25 07:46 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 25 Jan 2017 15:46:04 +0000 (25 07:46 -0800)
treefd2cc4d3d2de94ba419e9df095c3c6a67aef7b2c
parent55ff2cff998c076f05fdc74628e7347ccac7721d
tg: accomodate multiple git worktrees

In most cases git rev-parse --git-dir is still the correct answer,
but a few cases need to use git rev-parse --git-common-dir instead.

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