Commit 8fca786b authored by Lin Jen-Shin's avatar Lin Jen-Shin

They're never referred

parent 92a43826
...@@ -998,7 +998,7 @@ class Repository ...@@ -998,7 +998,7 @@ class Repository
base_branch, base_branch,
source_branch: revert_tree_id) do source_branch: revert_tree_id) do
committer = user_to_committer(user) committer = user_to_committer(user)
source_sha = Rugged::Commit.create(rugged, Rugged::Commit.create(rugged,
message: commit.revert_message, message: commit.revert_message,
author: committer, author: committer,
committer: committer, committer: committer,
...@@ -1018,7 +1018,7 @@ class Repository ...@@ -1018,7 +1018,7 @@ class Repository
base_branch, base_branch,
source_branch: cherry_pick_tree_id) do source_branch: cherry_pick_tree_id) do
committer = user_to_committer(user) committer = user_to_committer(user)
source_sha = Rugged::Commit.create(rugged, Rugged::Commit.create(rugged,
message: commit.message, message: commit.message,
author: { author: {
email: commit.author_email, email: commit.author_email,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment