Method: Grit::Repo#commits_since
- Defined in:
- lib/grit/repo.rb
#commits_since(start = 'master', since = '1970-01-01', extra_options = {}) ⇒ Object
The Commits objects that are newer than the specified date. Commits are returned in chronological order.
+start+ is the branch/commit name (default 'master')
+since+ is a string representing a date/time
+extra_options+ is a hash of extra options
Returns Grit::Commit[] (baked)
420 421 422 423 424 |
# File 'lib/grit/repo.rb', line 420 def commits_since(start = 'master', since = '1970-01-01', = {}) = {:since => since}.merge() Commit.find_all(self, start, ) end |