Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-05 11:54:34 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-04-05 11:54:34 +0300
commitb8d1545bf18e672a68b9095e4c9c6cd6c018aad7 (patch)
tree9ccb0bf321cddc65b0916b50dfbea22225cab171 /app/services/git_push_service.rb
parentc3875b5f7517e5d170f3028f98490c22d6eac872 (diff)
Update language after doing all other operations
Diffstat (limited to 'app/services/git_push_service.rb')
-rw-r--r--app/services/git_push_service.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/services/git_push_service.rb b/app/services/git_push_service.rb
index c007d648dd6..c76c118df1a 100644
--- a/app/services/git_push_service.rb
+++ b/app/services/git_push_service.rb
@@ -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