ShellCommand: Store workingdirectory in the jobs

Not all jobs of one command can run in the same directory, so
prepare for having individual working directories per job.

Change-Id: Ice43361fe54f2b7153ccd38435f6108d83570082
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-06-08 13:51:29 +02:00
parent 2221636cfb
commit ea476ffc39
5 changed files with 24 additions and 20 deletions

View File

@@ -116,7 +116,7 @@ void VcsCommand::emitRepositoryChanged()
return;
// TODO tell the document manager that the directory now received all expected changes
// Core::DocumentManager::unexpectDirectoryChange(d->m_workingDirectory);
Core::VcsManager::emitRepositoryChanged(workingDirectory());
Core::VcsManager::emitRepositoryChanged(defaultWorkingDirectory());
}
unsigned VcsCommand::processFlags() const