Class: Redmine::Scm::Adapters::GitAdapter::Revision

Inherits:
Revision
  • Object
show all
Defined in:
lib/redmine/scm/adapters/git_adapter.rb

Overview

Since:

  • 1.1.0

Instance Attribute Summary

Attributes inherited from Revision

#author, #branch, #identifier, #message, #name, #parents, #paths, #revision, #scmid, #time

Instance Method Summary collapse

Methods inherited from Revision

#==, #initialize

Constructor Details

This class inherits a constructor from Redmine::Scm::Adapters::Revision

Instance Method Details

#format_identifierObject

Returns the readable identifier



384
385
386
# File 'lib/redmine/scm/adapters/git_adapter.rb', line 384

def format_identifier
  identifier[0,8]
end