Return the ref type of HEAD on the current branch
91 92 93 94 95 96
# File 'lib/packaging/util/git.rb', line 91 def ref_type Pkg::Util.in_project_root do stdout, = Pkg::Util::Execution.capture3("#{Pkg::Util::Tool::GIT} cat-file -t #{describe('')}") stdout.strip end end