module ElasticAPM::Util
def self.git_sha
def self.git_sha sha = `git rev-parse --verify HEAD 2>&1`.chomp $? && $?.success? ? sha : nil # rubocop:disable Style/SpecialGlobalVars end
def self.git_sha sha = `git rev-parse --verify HEAD 2>&1`.chomp $? && $?.success? ? sha : nil # rubocop:disable Style/SpecialGlobalVars end