Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

Commit

Permalink
Merge e6aba03 into 84c0350
Browse files Browse the repository at this point in the history
  • Loading branch information
zzet committed Feb 25, 2014
2 parents 84c0350 + e6aba03 commit ea43361
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/gitlab_git/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,11 @@ def log(options)
# Delegate commits_between to Grit method
#
def commits_between(from, to)
grit.commits_between(from, to)
walker = Rugged::Walker.new(rugged)
walker.sorting(Rugged::SORT_REVERSE)
walker.push(to)
walker.hide(from)
walker.to_a # remove to_a for lazy enumerator
end

def merge_base_commit(from, to)
Expand Down

0 comments on commit ea43361

Please sign in to comment.