tg-info.sh: make full use of run_awk_topmsg_header
commit014c247cb08b431730c0ee120efb66e773489f4a
authorKyle J. McKay <mackyle@gmail.com>
Thu, 22 Jun 2017 22:11:05 +0000 (22 15:11 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 22 Jun 2017 22:11:05 +0000 (22 15:11 -0700)
treec81bd9d52d7fe695605bb82b69de11dc531f9fdb
parente6663e06f10a59b81d2d3c1cc366bc45f7b2b4db
tg-info.sh: make full use of run_awk_topmsg_header

The run_awk_topmsg_header function already ends up computing whether
or not the branch is a "no commits" branch.

Have it output the kind along with the subject and use that for the
test rather than running a separate test for the "no commits" case.

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