module Spoom::Git
def self.commit_timestamp(sha, path: ".")
def self.commit_timestamp(sha, path: ".") out, _, status = show("--no-notes --no-patch --pretty=%at #{sha}", path: path) return nil unless status out.strip.to_i end
def self.commit_timestamp(sha, path: ".") out, _, status = show("--no-notes --no-patch --pretty=%at #{sha}", path: path) return nil unless status out.strip.to_i end