Searched refs:gitBranch (Results 1 – 3 of 3) sorted by relevance
50 my $gitBranch;67 sub gitBranch() subroutine69 unless (defined $gitBranch) {70 chomp($gitBranch = `git symbolic-ref -q HEAD`);71 $gitBranch = "" if exitStatus($?);72 $gitBranch =~ s#^refs/heads/##;73 $gitBranch = "" if $gitBranch eq "master";76 return $gitBranch;81 my $branch = gitBranch();
223 my $branch = gitBranch();
131 my $branch = gitBranch();