Skip to content

Commit 6200cb8

Browse files
committed
Remove obsolete mIgnorePaths check
1 parent a9c01ef commit 6200cb8

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

cli/cmdlineparser.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,24 +1613,6 @@ CmdLineParser::Result CmdLineParser::parseFromArgs(int argc, const char* const a
16131613
return Result::Fail;
16141614
}
16151615

1616-
for (auto& path : mIgnoredPaths)
1617-
{
1618-
path = Path::removeQuotationMarks(std::move(path));
1619-
path = Path::simplifyPath(std::move(path));
1620-
1621-
bool isdir = false;
1622-
if (!Path::exists(path, &isdir) && mSettings.debugignore) {
1623-
// FIXME: this is misleading because we match from the end of the path so it does not require to exist
1624-
//std::cout << "path to ignore does not exist: " << path << std::endl;
1625-
}
1626-
// TODO: this only works when it exists
1627-
if (isdir) {
1628-
// If directory name doesn't end with / or \, add it
1629-
if (!endsWith(path, '/'))
1630-
path += '/';
1631-
}
1632-
}
1633-
16341616
if (!project.guiProject.pathNames.empty())
16351617
mPathNames = project.guiProject.pathNames;
16361618

0 commit comments

Comments
 (0)