|
|
|
@ -59,9 +59,9 @@ module GitHelper
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 删除文件
|
|
|
|
|
def git_delete_file(repo_path, file_path, author_name, author_email, message)
|
|
|
|
|
def git_delete_file(repo_path, tree_path, author_name, author_email, message)
|
|
|
|
|
Rails.logger.info("#####repo_path:#{repo_path}, file_path: #{file_path}")
|
|
|
|
|
GitService.delete_file(repo_path: repo_path, file_path: file_path, message: message, author_name: author_name,
|
|
|
|
|
GitService.delete_file(repo_path: repo_path, tree_path: tree_path, message: message, author_name: author_name,
|
|
|
|
|
author_email: author_email)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|