Commit 5ba468ef authored by Lin Jen-Shin's avatar Lin Jen-Shin

Not sure why rubocop prefers this but anyway

parent 5ecd0c81
...@@ -974,7 +974,7 @@ class Repository ...@@ -974,7 +974,7 @@ class Repository
source_branch: source_branch, source_project: source_project) do source_branch: source_branch, source_project: source_project) do
source_sha = source_project.repository.find_source_sha( source_sha = source_project.repository.find_source_sha(
source_branch || base_branch) source_branch || base_branch)
committer = user_to_committer(user) committer = user_to_committer(user)
Rugged::Commit.create(rugged, Rugged::Commit.create(rugged,
...@@ -998,7 +998,7 @@ class Repository ...@@ -998,7 +998,7 @@ class Repository
source_branch: source_branch, source_project: source_project) do source_branch: source_branch, source_project: source_project) do
source_sha = source_project.repository.find_source_sha( source_sha = source_project.repository.find_source_sha(
source_branch || base_branch) source_branch || base_branch)
committer = user_to_committer(user) committer = user_to_committer(user)
Rugged::Commit.create(rugged, Rugged::Commit.create(rugged,
......
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