lib/gitlab_git/repository.rb
# Return a collection of Rugged::Commits between the two SHA arguments.
#
Return a collection of Rugged::Commits between the two SHA arguments.
Return a collection of Rugged :: Commits between the two SHA arguments .
def commits_between(from, to)
        walker = Rugged::Walker.new(rugged)
        walker.sorting(Rugged::SORT_DATE | Rugged::SORT_REVERSE)
        walker.push(to)
        walker.hide(from)
        commits = walker.to_a
        walker.reset
        commits
      end
def commits_between ( from , to ) walker = Rugged :: Walker . new ( rugged ) walker . sorting ( Rugged :: SORT_DATE | Rugged :: SORT_REVERSE ) walker . push ( to ) walker . hide ( from ) commits = walker . to_a walker . reset commits end
Return a collection of Rugged::Commits between the two SHA arguments.
Return a collection of Rugged :: Commits between the two SHA arguments .
from
to