tg.sh: avoid multiple rev-parse --show-cdup calls
commitb241bc42b3ff6bee4553b44e3d15251d12951c54
authorKyle J. McKay <mackyle@gmail.com>
Sun, 26 Mar 2017 21:54:27 +0000 (26 14:54 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 26 Mar 2017 21:54:27 +0000 (26 14:54 -0700)
tree66bf8a417039c21cbfde508a4021f966120c5170
parent9c89aeb5f47c0cdad8ad66c2a56fa552bd48cf2b
tg.sh: avoid multiple rev-parse --show-cdup calls

It's only one extra process, but might as well have the optimization.

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