Class | Git::Log |
In: |
lib/git/log.rb
|
Parent: | Object |
object that holds the last X commits on given branch
# File lib/git/log.rb, line 18 def initialize(base, count = 30) dirty_log @base = base @count = count end
# File lib/git/log.rb, line 42 def between(sha1, sha2 = nil) dirty_log @between = [@base.lib.revparse(sha1), @base.lib.revparse(sha2)] return self end