Skip to content
Snippets Groups Projects
Commit 5ba468ef authored by Lin Jen-Shin's avatar Lin Jen-Shin :cookie:
Browse files

Not sure why rubocop prefers this but anyway

parent 5ecd0c81
No related branches found
No related tags found
1 merge request!7237Don't execute git hooks if you create branch as part of other change
Pipeline #
......@@ -974,7 +974,7 @@ def revert(
source_branch: source_branch, source_project: source_project) do
source_sha = source_project.repository.find_source_sha(
source_branch || base_branch)
source_branch || base_branch)
committer = user_to_committer(user)
Rugged::Commit.create(rugged,
......@@ -998,7 +998,7 @@ def cherry_pick(
source_branch: source_branch, source_project: source_project) do
source_sha = source_project.repository.find_source_sha(
source_branch || base_branch)
source_branch || base_branch)
committer = user_to_committer(user)
Rugged::Commit.create(rugged,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment