Method: GitCommitNotifier::Git.short_commit_id

Defined in:
lib/git_commit_notifier/git.rb

.short_commit_id(param) ⇒ Object



129
130
131
# File 'lib/git_commit_notifier/git.rb', line 129

def short_commit_id(param)
  from_shell("git rev-parse --short '#{param}'").strip
end