aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/gitclient.cpp
diff options
context:
space:
mode:
authorJarek Kobus <[email protected]>2022-07-11 11:45:54 +0200
committerJarek Kobus <[email protected]>2022-07-11 10:04:08 +0000
commite793841b4f44ba52195450bd8ba496dd5d5845e9 (patch)
treefb6ebd0ae394232ffe8ef913fda8088d0d430f2f /src/plugins/git/gitclient.cpp
parent9891a879aa41d3ba6b746d7a6209ac85cd77262c (diff)
Remove Core::ShellCommand
Move the implementation into VcsCommand. Use Utils::ShellCommand inside coreplugin API. Change-Id: I74a34057b33832a138b05f1dfa6937565027edb4 Reviewed-by: Orgad Shaneh <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.cpp')
-rw-r--r--src/plugins/git/gitclient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp
index 5ac84c5ac45..fc88776f042 100644
--- a/src/plugins/git/gitclient.cpp
+++ b/src/plugins/git/gitclient.cpp
@@ -924,7 +924,7 @@ bool GitClient::managesFile(const FilePath &workingDirectory, const QString &fil
{
QtcProcess proc;
vcsFullySynchronousExec(proc, workingDirectory, {"ls-files", "--error-unmatch", fileName},
- Core::ShellCommand::NoOutput);
+ ShellCommand::NoOutput);
return proc.result() == ProcessResult::FinishedWithSuccess;
}
@@ -940,7 +940,7 @@ FilePaths GitClient::unmanagedFiles(const FilePaths &filePaths) const
const QDir wd(it.key().toString());
args << transform(it.value(), [&wd](const QString &fp) { return wd.relativeFilePath(fp); });
QtcProcess proc;
- vcsFullySynchronousExec(proc, it.key(), args, Core::ShellCommand::NoOutput);
+ vcsFullySynchronousExec(proc, it.key(), args, ShellCommand::NoOutput);
if (proc.result() != ProcessResult::FinishedWithSuccess)
return filePaths;
const QStringList managedFilePaths