From 98cfaea3fbe712fcbefd1e8cd1d40bc898888429 Mon Sep 17 00:00:00 2001 From: Shardendu Date: Thu, 11 Feb 2016 12:55:35 +0530 Subject: [PATCH] Switched short commit SHA to full SHA to remove ambiguity --- lib/git_stats/git_data/repo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git_stats/git_data/repo.rb b/lib/git_stats/git_data/repo.rb index efece77a8..397ebb131 100644 --- a/lib/git_stats/git_data/repo.rb +++ b/lib/git_stats/git_data/repo.rb @@ -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],