forked from qt-creator/qt-creator
Git: Use Git process environment for Gerrit plugin processes
Change-Id: Iab0124d3aeed189c5ffd900c02ce6b87293b9c79 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
a846605870
commit
74a512892a
@@ -154,6 +154,8 @@ FetchContext::FetchContext(const QSharedPointer<GerritChange> &change,
|
||||
connect(&m_process, SIGNAL(readyReadStandardOutput()),
|
||||
this, SLOT(processReadyReadStandardOutput()));
|
||||
m_process.setWorkingDirectory(repository);
|
||||
m_process.setProcessEnvironment(Git::Internal::GitPlugin::instance()->
|
||||
gitClient()->processEnvironment());
|
||||
}
|
||||
|
||||
FetchContext::~FetchContext()
|
||||
|
||||
Reference in New Issue
Block a user