forked from qt-creator/qt-creator
Git: Silence managesFile
When adding existing untracked files to a project, and choosing to add them to Git, error messages appeared in the output pane. Change-Id: Iba639a678d2ca424fb32b34b218fca1c4b99971d Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
534aa02163
commit
943f499fe4
@@ -795,7 +795,8 @@ QString GitClient::findGitDirForRepository(const QString &repositoryDir) const
|
||||
|
||||
bool GitClient::managesFile(const QString &workingDirectory, const QString &fileName) const
|
||||
{
|
||||
return vcsFullySynchronousExec(workingDirectory, {"ls-files", "--error-unmatch", fileName}).result
|
||||
return vcsFullySynchronousExec(workingDirectory, {"ls-files", "--error-unmatch", fileName},
|
||||
Core::ShellCommand::NoOutput).result
|
||||
== SynchronousProcessResponse::Finished;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user