Sha256: 90bc759fb1e160989c00934b162fabe1488ecf600e6083274c133c426adce9ab
Contents?: true
Size: 249 Bytes
Versions: 339
Compression:
Stored size: 249 Bytes
Contents
module Generator # Wrap git shell commands. class GitCommand def self.abbreviated_commit_hash(git_path, repository_relative_path) `git --git-dir=#{git_path} log -1 --pretty=format:'%h' -- #{repository_relative_path}` end end end
Version data entries
339 entries across 339 versions & 1 rubygems