Switched short commit SHA to full SHA to remove ambiguity

This commit is contained in:
Shardendu 2016-02-11 12:55:35 +05:30
parent 615cf91857
commit 98cfaea3fb

View file

@ -50,7 +50,7 @@ module GitStats
end
def commits
@commits ||= run_and_parse("git rev-list --pretty=format:'%h|%at|%ai|%aE' #{commit_range} #{tree_path} | grep -v commit").map do |commit_line|
@commits ||= run_and_parse("git rev-list --pretty=format:'%H|%at|%ai|%aE' #{commit_range} #{tree_path} | grep -v commit").map do |commit_line|
Commit.new(
repo: self,
sha: commit_line[:sha],