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