From 4c3d8b681bf17d88605df0aa33cfa500abab3395 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 11 Apr 2011 05:52:34 +0000 Subject: [PATCH] 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 --- lib/redmine/scm/adapters/git_adapter.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb index 5d82d4d4b..0c0b975a5 100644 --- a/lib/redmine/scm/adapters/git_adapter.rb +++ b/lib/redmine/scm/adapters/git_adapter.rb @@ -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 -- 2.39.5