diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-05-23 12:33:49 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-05-25 12:13:32 -0300 |
commit | 005496354457cefba4f54e2d19f53888b2182727 (patch) | |
tree | 4b363f420d04cc09d7bee7657f7e1eefd5aa4e6b /app | |
parent | e44016b90ad900836b2cbc83ebb9f58c39b3576a (diff) | |
download | gitlab-ce-005496354457cefba4f54e2d19f53888b2182727.tar.gz |
Remove unecessary commit pattern check
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/process_commit_worker.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/workers/process_commit_worker.rb b/app/workers/process_commit_worker.rb index 8b192aa74c6..fe6a49976e0 100644 --- a/app/workers/process_commit_worker.rb +++ b/app/workers/process_commit_worker.rb @@ -25,8 +25,6 @@ class ProcessCommitWorker commit = build_commit(project, commit_hash) - return unless commit.matches_cross_reference_regex? - author = commit.author || user process_commit_message(project, commit, user, author, default) @@ -80,7 +78,7 @@ class ProcessCommitWorker private - # Avoid to re-process commits messages that already exists in the upstream + # Avoid reprocessing commits that already exist in the upstream # when project is forked. This will also prevent duplicated system notes. def commit_exists_in_upstream?(project, commit_hash) return false unless project.forked? |