Defect #12505 » prevent-git-log-wrong-revisions-bug-12505.patch
| app/models/repository/git.rb (working copy) | ||
|---|---|---|
| 239 | 239 |
h1 = extra_info || {}
|
| 240 | 240 |
h = h1.dup |
| 241 | 241 |
h["branches"] ||= {}
|
| 242 |
h['branches'].map{|br, hs| hs['last_scmid']}
|
|
| 242 |
h['branches'].map{|br, hs| hs['last_scmid'] if branches.include? br}.compact
|
|
| 243 | 243 |
end |
| 244 | 244 | |
| 245 | 245 |
def latest_changesets(path,rev,limit=10) |