mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
28cd33e actually changed the behaviour of GetFilesInFolderHelper.
This commit is contained in:
parent
27c4222ef1
commit
b145243a64
@ -215,8 +215,8 @@ static void GetFilesInFolderHelper(
|
||||
if (file.name[0] != '.') {
|
||||
if (file.is_dir) {
|
||||
if (recursive) {
|
||||
std::string child_dir = q.front().first + file.name + "/";
|
||||
if (!IsSymLink(child_dir))
|
||||
std::string child_dir = q.front().second + file.name + "/";
|
||||
if (!IsSymLink(file.path))
|
||||
q.push(make_pair(file.path, child_dir));
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user