UserLookup/GitTag.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
users
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package App::Gitc::UserLookup;
2  
3 use strict;
4 use warnings;
5  
6 # ABSTRACT: App::Gitc::Util helper
7 our $VERSION = '0.60'; # VERSION
8  
9 use App::Gitc::Util qw( git );
10  
11 # Lets you put your users in a git tag.
12 sub users {
13 return map { s{^user/}{}; $_ } git 'tag -l user/*';
14 }
15  
16 __END__