tg: reduce subshell creation phase III
commit43de3d3569af8b8c3da650918b9bdba0413bd0e7
authorKyle J. McKay <mackyle@gmail.com>
Wed, 21 Feb 2018 00:19:54 +0000 (20 16:19 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 21 Feb 2018 00:19:54 +0000 (20 16:19 -0800)
treedf87d2fc54ae6a3e64568f7dab9f92fa0ec17064
parentce6ce30dfede6c9810220ded0ea1d92280ec3378
tg: reduce subshell creation phase III

More excess subshell invocation eliminations.

In this phase replace all uses of verify_topgit_branch with the
existing v_verify_topgit_branch and remove the verify_topgit_branch
wrapper function.

Although there's unlikely to be much of a noticeable speed-up in
this case, it cleans up the code and completes the transition that
was begun some time ago.  With the other recent changes, the
v_verify_topgit_branch function can now often do its work without
creating any new subshells (aka forking).

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
t/helper/branch_needs_update.sh
tg-depend.sh
tg-export.sh
tg-files.sh
tg-log.sh
tg-mail.sh
tg-patch.sh
tg-push.sh
tg-summary.sh
tg-update.sh
tg.sh