Returns the commit date for the provided SHA as a timestamp
sha - commit sha to retrieve date
36
37
38
39
# File 'lib/licensed/git.rb', line 36defcommit_date(sha)returnunlessgit_repo?&&shaLicensed::Shell.execute("git","show","-s","-1","--format=%ct",sha)end