BigW Consortium Gitlab
Merge branch '21010-emailsonpushworker-incorrectly-claims-deleted-a-commit-after-a-push' into 'master' Resolve "EmailsOnPushWorker incorrectly claims deleted a commit after a push" ## What does this MR do? Fix the comparison order in the emails on push worker, so regular pushes don't show a message about force pushing. ## Are there points in the code the reviewer needs to double check? Don't think so, it was just a typo: `after_sha` should map to the `source_branch` argument, because it's the head of the comparison. ## Why was this MR needed? To fix a regression! ## What are the relevant issue numbers? Closes #21010. ## Does this MR meet the acceptance criteria? - [x] ~~[CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added~~ - [x] ~~[Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)~~ - [x] ~~API support added~~ - Tests - [x] Added for this feature/bug - [ ] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5894
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
repository_check | Loading commit data... | |
admin_email_worker.rb | Loading commit data... | |
build_email_worker.rb | Loading commit data... | |
delete_user_worker.rb | Loading commit data... | |
email_receiver_worker.rb | Loading commit data... | |
emails_on_push_worker.rb | Loading commit data... | |
expire_build_artifacts_worker.rb | Loading commit data... | |
git_garbage_collect_worker.rb | Loading commit data... | |
gitlab_shell_worker.rb | Loading commit data... | |
group_destroy_worker.rb | Loading commit data... | |
import_export_project_cleanup_worker.rb | Loading commit data... | |
irker_worker.rb | Loading commit data... | |
merge_worker.rb | Loading commit data... | |
new_note_worker.rb | Loading commit data... | |
post_receive.rb | Loading commit data... | |
project_cache_worker.rb | Loading commit data... | |
project_destroy_worker.rb | Loading commit data... | |
project_export_worker.rb | Loading commit data... | |
project_service_worker.rb | Loading commit data... | |
project_web_hook_worker.rb | Loading commit data... | |
remove_expired_group_links_worker.rb | Loading commit data... | |
remove_expired_members_worker.rb | Loading commit data... | |
repository_archive_cache_worker.rb | Loading commit data... | |
repository_fork_worker.rb | Loading commit data... | |
repository_import_worker.rb | Loading commit data... | |
requests_profiles_worker.rb | Loading commit data... | |
stuck_ci_builds_worker.rb | Loading commit data... | |
system_hook_worker.rb | Loading commit data... |