class Pronto::Git::Repository
def commits_until(sha)
def commits_until(sha) result = [] @repo.walk(head_commit_sha, Rugged::SORT_TOPO).take_while do |commit| result << commit.oid !commit.oid.start_with?(sha) end result end
def commits_until(sha) result = [] @repo.walk(head_commit_sha, Rugged::SORT_TOPO).take_while do |commit| result << commit.oid !commit.oid.start_with?(sha) end result end