Lines Matching refs:gitBranch
55 &gitBranch
77 my $gitBranch;
112 sub gitBranch()
114 unless (defined $gitBranch) {
115 chomp($gitBranch = `git symbolic-ref -q HEAD`);
116 $gitBranch = "" if exitStatus($?);
117 $gitBranch =~ s#^refs/heads/##;
118 $gitBranch = "" if $gitBranch eq "master";
121 return $gitBranch;
126 my $branch = gitBranch();