class Rugged::Repository
def walk(from, sorting=Rugged::SORT_DATE, &block)
Returns nothing if called with a block, otherwise returns an instance of
block - A block that we pass into walker#each.
sorting - The sorting order of the commits, as defined in the README.
from - The String SHA1 to push onto Walker to begin our walk.
Walks over a set of commits using Rugged::Walker.
def walk(from, sorting=Rugged::SORT_DATE, &block) walker = Rugged::Walker.new(self) walker.sorting(sorting) walker.push(from) walker.each(&block) end