Class | Grit::CommitStats |
In: |
lib/grit/commit_stats.rb
|
Parent: | Object |
additions | [R] | |
deletions | [R] | |
files | [R] | |
id | [R] | |
total | [R] |
Find all commit stats matching the given criteria.
+repo+ is the Repo +ref+ is the ref from which to begin (SHA1 or name) or nil for --all +options+ is a Hash of optional arguments to git :max_count is the maximum number of commits to fetch :skip is the number of commits to skip
Returns assoc array [sha, Grit::Commit[] (baked)]
Parse out commit information into an array of baked Commit objects
+repo+ is the Repo +text+ is the text output from the git command (raw format)
Returns assoc array [sha, Grit::Commit[] (baked)]
Instantiate a new CommitStats
+id+ is the id of the commit +files+ is an array of : [ [filename, adds, deletes, total], [filename, adds, deletes, total], [filename, adds, deletes, total] ]
Returns Grit::CommitStats (baked)