Fixed issue with git commit silently failing.
Also updated status task and installation instuctions.
This commit is contained in:
parent
5add5f760e
commit
6f25967c47
3 changed files with 28 additions and 4 deletions
|
@ -191,8 +191,8 @@ module Gitlab
|
|||
|
||||
def push tmp_dir
|
||||
Dir.chdir(File.join(tmp_dir, "gitolite"))
|
||||
system('git add -A')
|
||||
system('git commit -am "GitLab"')
|
||||
raise "Git add failed." unless system('git add -A')
|
||||
raise "Git commit failed." unless system('git commit -am "GitLab"')
|
||||
if system('git push')
|
||||
Dir.chdir(Rails.root)
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue