Update language after doing all other operations
This commit is contained in:
parent
c3875b5f75
commit
b8d1545bf1
1 changed files with 4 additions and 3 deletions
|
@ -43,13 +43,14 @@ class GitPushService < BaseService
|
|||
@push_commits = @project.repository.commits_between(params[:oldrev], params[:newrev])
|
||||
process_commit_messages
|
||||
end
|
||||
# Checks if the main language has changed in the project and if so
|
||||
# it updates it accordingly
|
||||
update_main_language
|
||||
# Update merge requests that may be affected by this push. A new branch
|
||||
# could cause the last commit of a merge request to change.
|
||||
update_merge_requests
|
||||
|
||||
# Checks if the main language has changed in the project and if so
|
||||
# it updates it accordingly
|
||||
update_main_language
|
||||
|
||||
perform_housekeeping
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue