mirror of
https://github.com/tomgi/git_stats.git
synced 2024-12-22 13:32:17 +01:00
Switched short commit SHA to full SHA to remove ambiguity
This commit is contained in:
parent
615cf91857
commit
98cfaea3fb
1 changed files with 1 additions and 1 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue