taskd.pl: refactor ref indicator computation
commitb6ac0616c06f39b30522c1c268e4d1295ce517f5
authorKyle J. McKay <mackyle@gmail.com>
Tue, 9 Feb 2021 19:13:14 +0000 (9 12:13 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 9 Feb 2021 19:13:14 +0000 (9 12:13 -0700)
tree79c4492e580fb247032ec45af9bab0b465940adc
parent705c9263234e8c3883f297379c4cb1735d017c7d
taskd.pl: refactor ref indicator computation

Move the ref_indicator computation function into Girocco::Util
but without the check for the `--no-show-fast-forward-info` option.

Provide a new local private _ref_indicator function for taskd
that makes use of the Girocco::Util::ref_indicator function and
takes into account the `--no-show-fast-forward-info` option in
order to continue to provide the same semantics as before.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Util.pm
taskd/taskd.pl