adds git terminal prompt env var to application rb

This commit is contained in:
Tiago Botelho 2017-03-31 11:42:04 +01:00
parent d9aca74115
commit ecd75216c6
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,4 @@
---
title: Set GIT_TERMINAL_PROMPT env variable in initializer
merge_request: 10372
author:

View file

@ -150,6 +150,7 @@ module Gitlab
# This is needed for gitlab-shell
ENV['GITLAB_PATH_OUTSIDE_HOOK'] = ENV['PATH']
ENV['GIT_TERMINAL_PROMPT'] = '0'
config.generators do |g|
g.factory_girl false