diff --git a/app/models/pull_request.rb b/app/models/pull_request.rb index 7f3478620..f74129b9f 100644 --- a/app/models/pull_request.rb +++ b/app/models/pull_request.rb @@ -80,7 +80,7 @@ class PullRequest < ActiveRecord::Base Dir.chdir(path) do system "git config user.name \"#{who.uname}\" && git config user.email \"#{who.email}\"" if merge - system("git push origin HEAD") + system("export GL_ID=user#{who.id} && git push origin HEAD") system("git reset --hard HEAD^") # for diff maybe FIXME set_user_and_time who merging