scm: git: use revision and scmid in blame.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5391 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-04-11 05:52:34 +00:00
parent 39c7f2942c
commit 4c3d8b681b
1 changed files with 4 additions and 1 deletions

View File

@ -304,7 +304,10 @@ module Redmine
elsif line =~ /^\t(.*)/
blame.add_line($1, Revision.new(
:identifier => identifier,
:author => authors_by_commit[identifier]))
:revision => identifier,
:scmid => identifier,
:author => authors_by_commit[identifier]
))
identifier = ''
author = ''
end