Defect #40948 » 0001-Truncate-git-authors-to-255-characters.patch
| app/models/repository/git.rb | ||
|---|---|---|
|
:repository => self,
|
||
|
:revision => rev.identifier,
|
||
|
:scmid => rev.scmid,
|
||
|
:committer => rev.author,
|
||
|
:committer => rev.author.truncate(255),
|
||
|
:committed_on => rev.time,
|
||
|
:comments => rev.message,
|
||
|
:parents => parents
|
||
| test/functional/repositories_git_controller_test.rb | ||
|---|---|---|
|
REPOSITORY_PATH = Rails.root.join('tmp/test/git_repository').to_s
|
||
|
REPOSITORY_PATH.tr!('/', "\\") if Redmine::Platform.mswin?
|
||
|
PRJ_ID = 3
|
||
|
NUM_REV = 28
|
||
|
NUM_REV = 29
|
||
|
def setup
|
||
|
super
|
||
| test/integration/repositories_git_test.rb | ||
|---|---|---|
|
REPOSITORY_PATH = Rails.root.join('tmp/test/git_repository').to_s
|
||
|
REPOSITORY_PATH.tr!('/', "\\") if Redmine::Platform.mswin?
|
||
|
PRJ_ID = 3
|
||
|
NUM_REV = 28
|
||
|
NUM_REV = 29
|
||
|
def setup
|
||
|
User.current = nil
|
||