class Git::Log
def max_count(num_or_all)
-
(self)
-
Parameters:
-
num_or_all
(Integer, Symbol, nil
) -- the number of commits to return, or
Other tags:
- Example: All commits returned by `git log` -
def max_count(num_or_all) dirty_log @max_count = (num_or_all == :all) ? nil : num_or_all self end