Commit a09d9382 authored by Koen Punt's avatar Koen Punt

Flipping commit ids in commits_between, fixes #513

parent 88260774
......@@ -92,7 +92,7 @@ class Commit
older = commits.last
result[:same] = (younger.id == older.id)
result[:commits] = project.repo.commits_between(younger.id, older.id).map {|c| Commit.new(c)}
result[:commits] = project.repo.commits_between(older.id, younger.id).map {|c| Commit.new(c)}
result[:diffs] = project.repo.diff(younger.id, older.id) rescue []
result[:commit] = Commit.new(older)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment