fix user identificator

This commit is contained in:
Alexander Machehin 2013-03-18 16:19:18 +06:00
parent b8a02299fd
commit dbea9152b8
1 changed files with 1 additions and 1 deletions

View File

@ -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("export GL_ID=user#{who.id} && 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