forked from qt-creator/qt-creator
TaskTree: Prepare for de-utils-ization - part 2
Move TaskTree into Tasking namespace. Move Tasking namespace out of Utils namespace. Change-Id: Ib4c1d7f54f1808517e54768dfa27209c33517b61 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -76,6 +76,7 @@ const char showFormatC[] =
|
||||
|
||||
using namespace Core;
|
||||
using namespace DiffEditor;
|
||||
using namespace Tasking;
|
||||
using namespace Utils;
|
||||
using namespace VcsBase;
|
||||
|
||||
@@ -1730,12 +1731,9 @@ bool GitClient::synchronousRevParseCmd(const FilePath &workingDirectory, const Q
|
||||
}
|
||||
|
||||
// Retrieve head revision
|
||||
Utils::Tasking::ProcessTask GitClient::topRevision(
|
||||
const FilePath &workingDirectory,
|
||||
ProcessTask GitClient::topRevision(const FilePath &workingDirectory,
|
||||
const std::function<void(const QString &, const QDateTime &)> &callback)
|
||||
{
|
||||
using namespace Tasking;
|
||||
|
||||
const auto setupProcess = [=](Process &process) {
|
||||
setupCommand(process, workingDirectory, {"show", "-s", "--pretty=format:%H:%ct", HEAD});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user