Flipping commit ids in commits_between, fixes #513
This commit is contained in:
parent
8826077471
commit
a09d938215
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue