|
|
@ -50,8 +50,8 @@ module GitCommon
|
|
|
|
Rails.logger.info(" good repo_name is #{@repo_path}")
|
|
|
|
Rails.logger.info(" good repo_name is #{@repo_path}")
|
|
|
|
@content = GitService.update_file(repo_path: @repo_path,
|
|
|
|
@content = GitService.update_file(repo_path: @repo_path,
|
|
|
|
file_path: @path,
|
|
|
|
file_path: @path,
|
|
|
|
message: message,
|
|
|
|
message: message.force_encoding('UTF-8'),
|
|
|
|
content: content,
|
|
|
|
content: content.force_encoding('UTF-8'),
|
|
|
|
author_name: author_name,
|
|
|
|
author_name: author_name,
|
|
|
|
author_email: author_email)
|
|
|
|
author_email: author_email)
|
|
|
|
end
|
|
|
|
end
|
|
|
|