tg: use --count with rev-list
commit59c0ffcc9026cf424d76571a2263e771fb4084bf
authorKyle J. McKay <mackyle@gmail.com>
Tue, 17 Jan 2017 23:29:49 +0000 (17 15:29 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 17 Jan 2017 23:29:49 +0000 (17 15:29 -0800)
tree5750b5362a847cac6bf011e45476999a7de940e0
parent6881145935b82442c8d98ecd70a0467dee69fcf2
tg: use --count with rev-list

When the actual value returned by git rev-list is uninteresting,
there are minor efficiencies in the code that can be activated
by passing in --count.  Do so since it's only the number of
items being returned in these cases that are interesting.  In
particular whether there was at least one result.

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