Project

General

Profile

Defect #40948 » 0001-Truncate-git-authors-to-255-characters.patch

Holger Just, 2024-07-08 19:33

View differences:

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
(1-1/5)