tg: purge use of basename, dirname and touch
commit1b1b18790722b359e0467367564fdc2011947c44
authorKyle J. McKay <mackyle@gmail.com>
Tue, 17 Jan 2017 08:08:11 +0000 (17 00:08 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 17 Jan 2017 08:08:11 +0000 (17 00:08 -0800)
tree9464966212d57d6ac39e2f1bcf95dda9f9ac8a97
parent23fd433a89a8f2d016bb62ccb4ff2e73fbc9d1a1
tg: purge use of basename, dirname and touch

The same thing can easily be accomplished with shell built-in
functionality thus avoiding needless spawning.

As part of this cleanup the code to ensure a reflog exists
has been moved into a new init_reflog function in tg.sh.

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