Project

General

Profile

Defect #8857 » Alias-the-revision-and-scmid-properties-for-Git-Revi.patch

Fixes revision lookups for Git during changeset processing - Jeremy Bopp, 2011-12-08 17:06

View differences:

lib/redmine/scm/adapters/git_adapter.rb
end
class Revision < Redmine::Scm::Adapters::Revision
def initialize(attributes={})
super
self.revision = attributes[:scmid]
end
# Returns the scmid.
alias_method :revision, :scmid
# Sets the scmid.
alias_method :revision=, :scmid=
# Returns the readable identifier
def format_identifier
identifier[0,8]
(3-3/8)