diff --git a/src/services/glob/list-files.ts b/src/services/glob/list-files.ts index 0dc2a06f1e..a7d57c1bdd 100644 --- a/src/services/glob/list-files.ts +++ b/src/services/glob/list-files.ts @@ -26,15 +26,22 @@ export async function listFiles(dirPath: string, recursive: boolean, limit: numb // Get ripgrep path const rgPath = await getRipgrepPath() - // Get files using ripgrep - const files = await listFilesWithRipgrep(rgPath, dirPath, recursive, limit) - - // Get directories with proper filtering + // Get directories with proper filtering first to ensure we capture the structure const gitignorePatterns = await parseGitignoreFile(dirPath, recursive) const directories = await listFilteredDirectories(dirPath, recursive, gitignorePatterns) + // Get files using ripgrep with a higher limit to avoid early termination + // We'll use a higher internal limit and then apply balanced sampling + const internalLimit = Math.max(limit * 3, 1000) // Use 3x the requested limit or 1000, whichever is higher + const files = await listFilesWithRipgrep(rgPath, dirPath, recursive, internalLimit) + + // Apply balanced sampling to ensure fair representation across directories + // Reserve some space for directories in the limit + const filesLimit = Math.max(limit - directories.length, Math.floor(limit * 0.8)) + const balancedFiles = applyBalancedSampling(files, directories, filesLimit) + // Combine and format the results - return formatAndCombineResults(files, directories, limit) + return formatAndCombineResults(balancedFiles, directories, limit) } /** @@ -304,6 +311,91 @@ function isIgnoredByGitignore(dirName: string, gitignorePatterns: string[]): boo return false } +/** + * Apply balanced sampling to ensure fair representation across directories + * This prevents one large directory from dominating the file list + */ +function applyBalancedSampling(files: string[], directories: string[], limit: number): string[] { + if (files.length <= limit) { + return files + } + + // Group files by their parent directory + const filesByDirectory = new Map() + + for (const file of files) { + const dir = path.dirname(file) + if (!filesByDirectory.has(dir)) { + filesByDirectory.set(dir, []) + } + filesByDirectory.get(dir)!.push(file) + } + + // Improved balanced sampling algorithm + const dirEntries = Array.from(filesByDirectory.entries()) + dirEntries.sort(([a], [b]) => a.localeCompare(b)) + + const result: string[] = [] + const dirCount = dirEntries.length + + // Ensure each directory gets at least a minimum number of files + const minFilesPerDir = Math.max(3, Math.floor(limit / (dirCount * 4))) // At least 3 files per dir, or 1/4 of fair share + const maxFilesPerDir = Math.floor(limit / dirCount) + 10 // Allow some directories to have more files + + // First pass: give each directory its minimum allocation + let remainingLimit = limit + const dirAllocations = new Map() + + for (const [dir, dirFiles] of dirEntries) { + const allocation = Math.min(minFilesPerDir, dirFiles.length, remainingLimit) + dirAllocations.set(dir, allocation) + remainingLimit -= allocation + } + + // Second pass: distribute remaining slots proportionally to directory sizes + if (remainingLimit > 0) { + const totalFiles = dirEntries.reduce((sum, [, dirFiles]) => sum + dirFiles.length, 0) + + for (const [dir, dirFiles] of dirEntries) { + const currentAllocation = dirAllocations.get(dir)! + const proportion = dirFiles.length / totalFiles + const additionalSlots = Math.min( + Math.floor(remainingLimit * proportion), + maxFilesPerDir - currentAllocation, + dirFiles.length - currentAllocation, + ) + + if (additionalSlots > 0) { + dirAllocations.set(dir, currentAllocation + additionalSlots) + remainingLimit -= additionalSlots + } + } + } + + // Third pass: distribute any remaining slots to directories that can take them + for (const [dir, dirFiles] of dirEntries) { + if (remainingLimit <= 0) break + + const currentAllocation = dirAllocations.get(dir)! + const canTakeMore = Math.min(remainingLimit, dirFiles.length - currentAllocation) + + if (canTakeMore > 0) { + dirAllocations.set(dir, currentAllocation + canTakeMore) + remainingLimit -= canTakeMore + } + } + + // Collect the files based on allocations + for (const [dir, dirFiles] of dirEntries) { + const allocation = dirAllocations.get(dir)! + dirFiles.sort() // Ensure consistent ordering + const selectedFiles = dirFiles.slice(0, allocation) + result.push(...selectedFiles) + } + + return result +} + /** * Combine file and directory results and format them properly */ @@ -338,23 +430,20 @@ async function execRipgrep(rgPath: string, args: string[], limit: number): Promi let output = "" let results: string[] = [] - // Set timeout to avoid hanging + // Set timeout to avoid hanging - increased to allow more complete traversal const timeoutId = setTimeout(() => { rgProcess.kill() console.warn("ripgrep timed out, returning partial results") - resolve(results.slice(0, limit)) - }, 10_000) + resolve(results) // Don't slice here either + }, 15_000) // Process stdout data as it comes in rgProcess.stdout.on("data", (data) => { output += data.toString() processRipgrepOutput() - // Kill the process if we've reached the limit - if (results.length >= limit) { - rgProcess.kill() - clearTimeout(timeoutId) // Clear the timeout when we kill the process due to reaching the limit - } + // Don't kill the process early - let it complete to get full directory structure + // The balanced sampling will be applied later in applyBalancedSampling }) // Process stderr but don't fail on non-zero exit codes @@ -375,7 +464,7 @@ async function execRipgrep(rgPath: string, args: string[], limit: number): Promi console.warn(`ripgrep process exited with code ${code}, returning partial results`) } - resolve(results.slice(0, limit)) + resolve(results) // Don't slice here - let balanced sampling handle the limit }) // Handle process errors @@ -396,12 +485,10 @@ async function execRipgrep(rgPath: string, args: string[], limit: number): Promi output = "" } - // Process each complete line + // Process each complete line - don't limit here, let balanced sampling handle it for (const line of lines) { - if (line.trim() && results.length < limit) { + if (line.trim()) { results.push(line) - } else if (results.length >= limit) { - break } } } diff --git a/test-issue-5301/a/file001.txt b/test-issue-5301/a/file001.txt new file mode 100644 index 0000000000..5728ca8d44 --- /dev/null +++ b/test-issue-5301/a/file001.txt @@ -0,0 +1 @@ +Content of file 1 \ No newline at end of file diff --git a/test-issue-5301/a/file002.txt b/test-issue-5301/a/file002.txt new file mode 100644 index 0000000000..b0df1fb85c --- /dev/null +++ b/test-issue-5301/a/file002.txt @@ -0,0 +1 @@ +Content of file 2 \ No newline at end of file diff --git a/test-issue-5301/a/file003.txt b/test-issue-5301/a/file003.txt new file mode 100644 index 0000000000..a5fb386f32 --- /dev/null +++ b/test-issue-5301/a/file003.txt @@ -0,0 +1 @@ +Content of file 3 \ No newline at end of file diff --git a/test-issue-5301/a/file004.txt b/test-issue-5301/a/file004.txt new file mode 100644 index 0000000000..6589d8cf1e --- /dev/null +++ b/test-issue-5301/a/file004.txt @@ -0,0 +1 @@ +Content of file 4 \ No newline at end of file diff --git a/test-issue-5301/a/file005.txt b/test-issue-5301/a/file005.txt new file mode 100644 index 0000000000..9bb364d2a3 --- /dev/null +++ b/test-issue-5301/a/file005.txt @@ -0,0 +1 @@ +Content of file 5 \ No newline at end of file diff --git a/test-issue-5301/a/file006.txt b/test-issue-5301/a/file006.txt new file mode 100644 index 0000000000..760ab81863 --- /dev/null +++ b/test-issue-5301/a/file006.txt @@ -0,0 +1 @@ +Content of file 6 \ No newline at end of file diff --git a/test-issue-5301/a/file007.txt b/test-issue-5301/a/file007.txt new file mode 100644 index 0000000000..063f5cfb54 --- /dev/null +++ b/test-issue-5301/a/file007.txt @@ -0,0 +1 @@ +Content of file 7 \ No newline at end of file diff --git a/test-issue-5301/a/file008.txt b/test-issue-5301/a/file008.txt new file mode 100644 index 0000000000..a493a540d8 --- /dev/null +++ b/test-issue-5301/a/file008.txt @@ -0,0 +1 @@ +Content of file 8 \ No newline at end of file diff --git a/test-issue-5301/a/file009.txt b/test-issue-5301/a/file009.txt new file mode 100644 index 0000000000..b3a56a81ae --- /dev/null +++ b/test-issue-5301/a/file009.txt @@ -0,0 +1 @@ +Content of file 9 \ No newline at end of file diff --git a/test-issue-5301/a/file010.txt b/test-issue-5301/a/file010.txt new file mode 100644 index 0000000000..595b124017 --- /dev/null +++ b/test-issue-5301/a/file010.txt @@ -0,0 +1 @@ +Content of file 10 \ No newline at end of file diff --git a/test-issue-5301/a/file011.txt b/test-issue-5301/a/file011.txt new file mode 100644 index 0000000000..e4899332e5 --- /dev/null +++ b/test-issue-5301/a/file011.txt @@ -0,0 +1 @@ +Content of file 11 \ No newline at end of file diff --git a/test-issue-5301/a/file012.txt b/test-issue-5301/a/file012.txt new file mode 100644 index 0000000000..9dbb9f09b6 --- /dev/null +++ b/test-issue-5301/a/file012.txt @@ -0,0 +1 @@ +Content of file 12 \ No newline at end of file diff --git a/test-issue-5301/a/file013.txt b/test-issue-5301/a/file013.txt new file mode 100644 index 0000000000..a07d567017 --- /dev/null +++ b/test-issue-5301/a/file013.txt @@ -0,0 +1 @@ +Content of file 13 \ No newline at end of file diff --git a/test-issue-5301/a/file014.txt b/test-issue-5301/a/file014.txt new file mode 100644 index 0000000000..0aa4bdab00 --- /dev/null +++ b/test-issue-5301/a/file014.txt @@ -0,0 +1 @@ +Content of file 14 \ No newline at end of file diff --git a/test-issue-5301/a/file015.txt b/test-issue-5301/a/file015.txt new file mode 100644 index 0000000000..b4754d0cb5 --- /dev/null +++ b/test-issue-5301/a/file015.txt @@ -0,0 +1 @@ +Content of file 15 \ No newline at end of file diff --git a/test-issue-5301/a/file016.txt b/test-issue-5301/a/file016.txt new file mode 100644 index 0000000000..b013ee12a2 --- /dev/null +++ b/test-issue-5301/a/file016.txt @@ -0,0 +1 @@ +Content of file 16 \ No newline at end of file diff --git a/test-issue-5301/a/file017.txt b/test-issue-5301/a/file017.txt new file mode 100644 index 0000000000..fcd0114024 --- /dev/null +++ b/test-issue-5301/a/file017.txt @@ -0,0 +1 @@ +Content of file 17 \ No newline at end of file diff --git a/test-issue-5301/a/file018.txt b/test-issue-5301/a/file018.txt new file mode 100644 index 0000000000..249c9fd669 --- /dev/null +++ b/test-issue-5301/a/file018.txt @@ -0,0 +1 @@ +Content of file 18 \ No newline at end of file diff --git a/test-issue-5301/a/file019.txt b/test-issue-5301/a/file019.txt new file mode 100644 index 0000000000..e05c72845c --- /dev/null +++ b/test-issue-5301/a/file019.txt @@ -0,0 +1 @@ +Content of file 19 \ No newline at end of file diff --git a/test-issue-5301/a/file020.txt b/test-issue-5301/a/file020.txt new file mode 100644 index 0000000000..bb488badbc --- /dev/null +++ b/test-issue-5301/a/file020.txt @@ -0,0 +1 @@ +Content of file 20 \ No newline at end of file diff --git a/test-issue-5301/a/file021.txt b/test-issue-5301/a/file021.txt new file mode 100644 index 0000000000..3c3928fefa --- /dev/null +++ b/test-issue-5301/a/file021.txt @@ -0,0 +1 @@ +Content of file 21 \ No newline at end of file diff --git a/test-issue-5301/a/file022.txt b/test-issue-5301/a/file022.txt new file mode 100644 index 0000000000..bb9dd99b20 --- /dev/null +++ b/test-issue-5301/a/file022.txt @@ -0,0 +1 @@ +Content of file 22 \ No newline at end of file diff --git a/test-issue-5301/a/file023.txt b/test-issue-5301/a/file023.txt new file mode 100644 index 0000000000..6d082a89a9 --- /dev/null +++ b/test-issue-5301/a/file023.txt @@ -0,0 +1 @@ +Content of file 23 \ No newline at end of file diff --git a/test-issue-5301/a/file024.txt b/test-issue-5301/a/file024.txt new file mode 100644 index 0000000000..26784cf360 --- /dev/null +++ b/test-issue-5301/a/file024.txt @@ -0,0 +1 @@ +Content of file 24 \ No newline at end of file diff --git a/test-issue-5301/a/file025.txt b/test-issue-5301/a/file025.txt new file mode 100644 index 0000000000..87628b9a51 --- /dev/null +++ b/test-issue-5301/a/file025.txt @@ -0,0 +1 @@ +Content of file 25 \ No newline at end of file diff --git a/test-issue-5301/a/file026.txt b/test-issue-5301/a/file026.txt new file mode 100644 index 0000000000..f1c283822d --- /dev/null +++ b/test-issue-5301/a/file026.txt @@ -0,0 +1 @@ +Content of file 26 \ No newline at end of file diff --git a/test-issue-5301/a/file027.txt b/test-issue-5301/a/file027.txt new file mode 100644 index 0000000000..ba7ab617ae --- /dev/null +++ b/test-issue-5301/a/file027.txt @@ -0,0 +1 @@ +Content of file 27 \ No newline at end of file diff --git a/test-issue-5301/a/file028.txt b/test-issue-5301/a/file028.txt new file mode 100644 index 0000000000..3e9071b27e --- /dev/null +++ b/test-issue-5301/a/file028.txt @@ -0,0 +1 @@ +Content of file 28 \ No newline at end of file diff --git a/test-issue-5301/a/file029.txt b/test-issue-5301/a/file029.txt new file mode 100644 index 0000000000..fcec4df0b6 --- /dev/null +++ b/test-issue-5301/a/file029.txt @@ -0,0 +1 @@ +Content of file 29 \ No newline at end of file diff --git a/test-issue-5301/a/file030.txt b/test-issue-5301/a/file030.txt new file mode 100644 index 0000000000..3abd6e2be9 --- /dev/null +++ b/test-issue-5301/a/file030.txt @@ -0,0 +1 @@ +Content of file 30 \ No newline at end of file diff --git a/test-issue-5301/a/file031.txt b/test-issue-5301/a/file031.txt new file mode 100644 index 0000000000..d1596cbd56 --- /dev/null +++ b/test-issue-5301/a/file031.txt @@ -0,0 +1 @@ +Content of file 31 \ No newline at end of file diff --git a/test-issue-5301/a/file032.txt b/test-issue-5301/a/file032.txt new file mode 100644 index 0000000000..fe2d69aabf --- /dev/null +++ b/test-issue-5301/a/file032.txt @@ -0,0 +1 @@ +Content of file 32 \ No newline at end of file diff --git a/test-issue-5301/a/file033.txt b/test-issue-5301/a/file033.txt new file mode 100644 index 0000000000..4dea7eeead --- /dev/null +++ b/test-issue-5301/a/file033.txt @@ -0,0 +1 @@ +Content of file 33 \ No newline at end of file diff --git a/test-issue-5301/a/file034.txt b/test-issue-5301/a/file034.txt new file mode 100644 index 0000000000..d2d42dd126 --- /dev/null +++ b/test-issue-5301/a/file034.txt @@ -0,0 +1 @@ +Content of file 34 \ No newline at end of file diff --git a/test-issue-5301/a/file035.txt b/test-issue-5301/a/file035.txt new file mode 100644 index 0000000000..0eb6e3aae4 --- /dev/null +++ b/test-issue-5301/a/file035.txt @@ -0,0 +1 @@ +Content of file 35 \ No newline at end of file diff --git a/test-issue-5301/a/file036.txt b/test-issue-5301/a/file036.txt new file mode 100644 index 0000000000..034a1df750 --- /dev/null +++ b/test-issue-5301/a/file036.txt @@ -0,0 +1 @@ +Content of file 36 \ No newline at end of file diff --git a/test-issue-5301/a/file037.txt b/test-issue-5301/a/file037.txt new file mode 100644 index 0000000000..4b27bb0f40 --- /dev/null +++ b/test-issue-5301/a/file037.txt @@ -0,0 +1 @@ +Content of file 37 \ No newline at end of file diff --git a/test-issue-5301/a/file038.txt b/test-issue-5301/a/file038.txt new file mode 100644 index 0000000000..0b23488dbe --- /dev/null +++ b/test-issue-5301/a/file038.txt @@ -0,0 +1 @@ +Content of file 38 \ No newline at end of file diff --git a/test-issue-5301/a/file039.txt b/test-issue-5301/a/file039.txt new file mode 100644 index 0000000000..7f75520662 --- /dev/null +++ b/test-issue-5301/a/file039.txt @@ -0,0 +1 @@ +Content of file 39 \ No newline at end of file diff --git a/test-issue-5301/a/file040.txt b/test-issue-5301/a/file040.txt new file mode 100644 index 0000000000..3917be8bc9 --- /dev/null +++ b/test-issue-5301/a/file040.txt @@ -0,0 +1 @@ +Content of file 40 \ No newline at end of file diff --git a/test-issue-5301/a/file041.txt b/test-issue-5301/a/file041.txt new file mode 100644 index 0000000000..e764889e03 --- /dev/null +++ b/test-issue-5301/a/file041.txt @@ -0,0 +1 @@ +Content of file 41 \ No newline at end of file diff --git a/test-issue-5301/a/file042.txt b/test-issue-5301/a/file042.txt new file mode 100644 index 0000000000..2a10844d93 --- /dev/null +++ b/test-issue-5301/a/file042.txt @@ -0,0 +1 @@ +Content of file 42 \ No newline at end of file diff --git a/test-issue-5301/a/file043.txt b/test-issue-5301/a/file043.txt new file mode 100644 index 0000000000..2b7e9828fb --- /dev/null +++ b/test-issue-5301/a/file043.txt @@ -0,0 +1 @@ +Content of file 43 \ No newline at end of file diff --git a/test-issue-5301/a/file044.txt b/test-issue-5301/a/file044.txt new file mode 100644 index 0000000000..f60a7929f8 --- /dev/null +++ b/test-issue-5301/a/file044.txt @@ -0,0 +1 @@ +Content of file 44 \ No newline at end of file diff --git a/test-issue-5301/a/file045.txt b/test-issue-5301/a/file045.txt new file mode 100644 index 0000000000..cf62831a90 --- /dev/null +++ b/test-issue-5301/a/file045.txt @@ -0,0 +1 @@ +Content of file 45 \ No newline at end of file diff --git a/test-issue-5301/a/file046.txt b/test-issue-5301/a/file046.txt new file mode 100644 index 0000000000..d1f2d6ae5d --- /dev/null +++ b/test-issue-5301/a/file046.txt @@ -0,0 +1 @@ +Content of file 46 \ No newline at end of file diff --git a/test-issue-5301/a/file047.txt b/test-issue-5301/a/file047.txt new file mode 100644 index 0000000000..dcfda52c93 --- /dev/null +++ b/test-issue-5301/a/file047.txt @@ -0,0 +1 @@ +Content of file 47 \ No newline at end of file diff --git a/test-issue-5301/a/file048.txt b/test-issue-5301/a/file048.txt new file mode 100644 index 0000000000..10ce896a2d --- /dev/null +++ b/test-issue-5301/a/file048.txt @@ -0,0 +1 @@ +Content of file 48 \ No newline at end of file diff --git a/test-issue-5301/a/file049.txt b/test-issue-5301/a/file049.txt new file mode 100644 index 0000000000..fa1717420c --- /dev/null +++ b/test-issue-5301/a/file049.txt @@ -0,0 +1 @@ +Content of file 49 \ No newline at end of file diff --git a/test-issue-5301/a/file050.txt b/test-issue-5301/a/file050.txt new file mode 100644 index 0000000000..356f8e80f4 --- /dev/null +++ b/test-issue-5301/a/file050.txt @@ -0,0 +1 @@ +Content of file 50 \ No newline at end of file diff --git a/test-issue-5301/a/file051.txt b/test-issue-5301/a/file051.txt new file mode 100644 index 0000000000..b0d3a3a86c --- /dev/null +++ b/test-issue-5301/a/file051.txt @@ -0,0 +1 @@ +Content of file 51 \ No newline at end of file diff --git a/test-issue-5301/a/file052.txt b/test-issue-5301/a/file052.txt new file mode 100644 index 0000000000..ccc267de3d --- /dev/null +++ b/test-issue-5301/a/file052.txt @@ -0,0 +1 @@ +Content of file 52 \ No newline at end of file diff --git a/test-issue-5301/a/file053.txt b/test-issue-5301/a/file053.txt new file mode 100644 index 0000000000..9f67b09224 --- /dev/null +++ b/test-issue-5301/a/file053.txt @@ -0,0 +1 @@ +Content of file 53 \ No newline at end of file diff --git a/test-issue-5301/a/file054.txt b/test-issue-5301/a/file054.txt new file mode 100644 index 0000000000..f5daab4d51 --- /dev/null +++ b/test-issue-5301/a/file054.txt @@ -0,0 +1 @@ +Content of file 54 \ No newline at end of file diff --git a/test-issue-5301/a/file055.txt b/test-issue-5301/a/file055.txt new file mode 100644 index 0000000000..5daea93e27 --- /dev/null +++ b/test-issue-5301/a/file055.txt @@ -0,0 +1 @@ +Content of file 55 \ No newline at end of file diff --git a/test-issue-5301/a/file056.txt b/test-issue-5301/a/file056.txt new file mode 100644 index 0000000000..8d33190790 --- /dev/null +++ b/test-issue-5301/a/file056.txt @@ -0,0 +1 @@ +Content of file 56 \ No newline at end of file diff --git a/test-issue-5301/a/file057.txt b/test-issue-5301/a/file057.txt new file mode 100644 index 0000000000..afca10d87b --- /dev/null +++ b/test-issue-5301/a/file057.txt @@ -0,0 +1 @@ +Content of file 57 \ No newline at end of file diff --git a/test-issue-5301/a/file058.txt b/test-issue-5301/a/file058.txt new file mode 100644 index 0000000000..c74e96c485 --- /dev/null +++ b/test-issue-5301/a/file058.txt @@ -0,0 +1 @@ +Content of file 58 \ No newline at end of file diff --git a/test-issue-5301/a/file059.txt b/test-issue-5301/a/file059.txt new file mode 100644 index 0000000000..794000594e --- /dev/null +++ b/test-issue-5301/a/file059.txt @@ -0,0 +1 @@ +Content of file 59 \ No newline at end of file diff --git a/test-issue-5301/a/file060.txt b/test-issue-5301/a/file060.txt new file mode 100644 index 0000000000..8363860f66 --- /dev/null +++ b/test-issue-5301/a/file060.txt @@ -0,0 +1 @@ +Content of file 60 \ No newline at end of file diff --git a/test-issue-5301/a/file061.txt b/test-issue-5301/a/file061.txt new file mode 100644 index 0000000000..06d1fcb7f4 --- /dev/null +++ b/test-issue-5301/a/file061.txt @@ -0,0 +1 @@ +Content of file 61 \ No newline at end of file diff --git a/test-issue-5301/a/file062.txt b/test-issue-5301/a/file062.txt new file mode 100644 index 0000000000..9d07d36f6a --- /dev/null +++ b/test-issue-5301/a/file062.txt @@ -0,0 +1 @@ +Content of file 62 \ No newline at end of file diff --git a/test-issue-5301/a/file063.txt b/test-issue-5301/a/file063.txt new file mode 100644 index 0000000000..44072f8ee0 --- /dev/null +++ b/test-issue-5301/a/file063.txt @@ -0,0 +1 @@ +Content of file 63 \ No newline at end of file diff --git a/test-issue-5301/a/file064.txt b/test-issue-5301/a/file064.txt new file mode 100644 index 0000000000..d42ac8fd0c --- /dev/null +++ b/test-issue-5301/a/file064.txt @@ -0,0 +1 @@ +Content of file 64 \ No newline at end of file diff --git a/test-issue-5301/a/file065.txt b/test-issue-5301/a/file065.txt new file mode 100644 index 0000000000..0074493a45 --- /dev/null +++ b/test-issue-5301/a/file065.txt @@ -0,0 +1 @@ +Content of file 65 \ No newline at end of file diff --git a/test-issue-5301/a/file066.txt b/test-issue-5301/a/file066.txt new file mode 100644 index 0000000000..7edbe329d5 --- /dev/null +++ b/test-issue-5301/a/file066.txt @@ -0,0 +1 @@ +Content of file 66 \ No newline at end of file diff --git a/test-issue-5301/a/file067.txt b/test-issue-5301/a/file067.txt new file mode 100644 index 0000000000..aa5f0a62ad --- /dev/null +++ b/test-issue-5301/a/file067.txt @@ -0,0 +1 @@ +Content of file 67 \ No newline at end of file diff --git a/test-issue-5301/a/file068.txt b/test-issue-5301/a/file068.txt new file mode 100644 index 0000000000..3d91b944d2 --- /dev/null +++ b/test-issue-5301/a/file068.txt @@ -0,0 +1 @@ +Content of file 68 \ No newline at end of file diff --git a/test-issue-5301/a/file069.txt b/test-issue-5301/a/file069.txt new file mode 100644 index 0000000000..0368374f77 --- /dev/null +++ b/test-issue-5301/a/file069.txt @@ -0,0 +1 @@ +Content of file 69 \ No newline at end of file diff --git a/test-issue-5301/a/file070.txt b/test-issue-5301/a/file070.txt new file mode 100644 index 0000000000..1997166721 --- /dev/null +++ b/test-issue-5301/a/file070.txt @@ -0,0 +1 @@ +Content of file 70 \ No newline at end of file diff --git a/test-issue-5301/a/file071.txt b/test-issue-5301/a/file071.txt new file mode 100644 index 0000000000..a9454c6df0 --- /dev/null +++ b/test-issue-5301/a/file071.txt @@ -0,0 +1 @@ +Content of file 71 \ No newline at end of file diff --git a/test-issue-5301/a/file072.txt b/test-issue-5301/a/file072.txt new file mode 100644 index 0000000000..c82ce8ba78 --- /dev/null +++ b/test-issue-5301/a/file072.txt @@ -0,0 +1 @@ +Content of file 72 \ No newline at end of file diff --git a/test-issue-5301/a/file073.txt b/test-issue-5301/a/file073.txt new file mode 100644 index 0000000000..766e411031 --- /dev/null +++ b/test-issue-5301/a/file073.txt @@ -0,0 +1 @@ +Content of file 73 \ No newline at end of file diff --git a/test-issue-5301/a/file074.txt b/test-issue-5301/a/file074.txt new file mode 100644 index 0000000000..31ff3f90ab --- /dev/null +++ b/test-issue-5301/a/file074.txt @@ -0,0 +1 @@ +Content of file 74 \ No newline at end of file diff --git a/test-issue-5301/a/file075.txt b/test-issue-5301/a/file075.txt new file mode 100644 index 0000000000..c1a83a93d5 --- /dev/null +++ b/test-issue-5301/a/file075.txt @@ -0,0 +1 @@ +Content of file 75 \ No newline at end of file diff --git a/test-issue-5301/a/file076.txt b/test-issue-5301/a/file076.txt new file mode 100644 index 0000000000..f36c2f2482 --- /dev/null +++ b/test-issue-5301/a/file076.txt @@ -0,0 +1 @@ +Content of file 76 \ No newline at end of file diff --git a/test-issue-5301/a/file077.txt b/test-issue-5301/a/file077.txt new file mode 100644 index 0000000000..8c0e70b7b5 --- /dev/null +++ b/test-issue-5301/a/file077.txt @@ -0,0 +1 @@ +Content of file 77 \ No newline at end of file diff --git a/test-issue-5301/a/file078.txt b/test-issue-5301/a/file078.txt new file mode 100644 index 0000000000..0ad8630b03 --- /dev/null +++ b/test-issue-5301/a/file078.txt @@ -0,0 +1 @@ +Content of file 78 \ No newline at end of file diff --git a/test-issue-5301/a/file079.txt b/test-issue-5301/a/file079.txt new file mode 100644 index 0000000000..4931bd88a5 --- /dev/null +++ b/test-issue-5301/a/file079.txt @@ -0,0 +1 @@ +Content of file 79 \ No newline at end of file diff --git a/test-issue-5301/a/file080.txt b/test-issue-5301/a/file080.txt new file mode 100644 index 0000000000..8a2219f71a --- /dev/null +++ b/test-issue-5301/a/file080.txt @@ -0,0 +1 @@ +Content of file 80 \ No newline at end of file diff --git a/test-issue-5301/a/file081.txt b/test-issue-5301/a/file081.txt new file mode 100644 index 0000000000..51bc9fa92c --- /dev/null +++ b/test-issue-5301/a/file081.txt @@ -0,0 +1 @@ +Content of file 81 \ No newline at end of file diff --git a/test-issue-5301/a/file082.txt b/test-issue-5301/a/file082.txt new file mode 100644 index 0000000000..e59595b66a --- /dev/null +++ b/test-issue-5301/a/file082.txt @@ -0,0 +1 @@ +Content of file 82 \ No newline at end of file diff --git a/test-issue-5301/a/file083.txt b/test-issue-5301/a/file083.txt new file mode 100644 index 0000000000..3a5b70d919 --- /dev/null +++ b/test-issue-5301/a/file083.txt @@ -0,0 +1 @@ +Content of file 83 \ No newline at end of file diff --git a/test-issue-5301/a/file084.txt b/test-issue-5301/a/file084.txt new file mode 100644 index 0000000000..76714f5bea --- /dev/null +++ b/test-issue-5301/a/file084.txt @@ -0,0 +1 @@ +Content of file 84 \ No newline at end of file diff --git a/test-issue-5301/a/file085.txt b/test-issue-5301/a/file085.txt new file mode 100644 index 0000000000..9f219d1987 --- /dev/null +++ b/test-issue-5301/a/file085.txt @@ -0,0 +1 @@ +Content of file 85 \ No newline at end of file diff --git a/test-issue-5301/a/file086.txt b/test-issue-5301/a/file086.txt new file mode 100644 index 0000000000..f8d2e9f8f8 --- /dev/null +++ b/test-issue-5301/a/file086.txt @@ -0,0 +1 @@ +Content of file 86 \ No newline at end of file diff --git a/test-issue-5301/a/file087.txt b/test-issue-5301/a/file087.txt new file mode 100644 index 0000000000..0c9df1def4 --- /dev/null +++ b/test-issue-5301/a/file087.txt @@ -0,0 +1 @@ +Content of file 87 \ No newline at end of file diff --git a/test-issue-5301/a/file088.txt b/test-issue-5301/a/file088.txt new file mode 100644 index 0000000000..9fc89f811f --- /dev/null +++ b/test-issue-5301/a/file088.txt @@ -0,0 +1 @@ +Content of file 88 \ No newline at end of file diff --git a/test-issue-5301/a/file089.txt b/test-issue-5301/a/file089.txt new file mode 100644 index 0000000000..5173e9be76 --- /dev/null +++ b/test-issue-5301/a/file089.txt @@ -0,0 +1 @@ +Content of file 89 \ No newline at end of file diff --git a/test-issue-5301/a/file090.txt b/test-issue-5301/a/file090.txt new file mode 100644 index 0000000000..20f6d19bd4 --- /dev/null +++ b/test-issue-5301/a/file090.txt @@ -0,0 +1 @@ +Content of file 90 \ No newline at end of file diff --git a/test-issue-5301/a/file091.txt b/test-issue-5301/a/file091.txt new file mode 100644 index 0000000000..c5426f4c08 --- /dev/null +++ b/test-issue-5301/a/file091.txt @@ -0,0 +1 @@ +Content of file 91 \ No newline at end of file diff --git a/test-issue-5301/a/file092.txt b/test-issue-5301/a/file092.txt new file mode 100644 index 0000000000..849905202c --- /dev/null +++ b/test-issue-5301/a/file092.txt @@ -0,0 +1 @@ +Content of file 92 \ No newline at end of file diff --git a/test-issue-5301/a/file093.txt b/test-issue-5301/a/file093.txt new file mode 100644 index 0000000000..76357d4e8d --- /dev/null +++ b/test-issue-5301/a/file093.txt @@ -0,0 +1 @@ +Content of file 93 \ No newline at end of file diff --git a/test-issue-5301/a/file094.txt b/test-issue-5301/a/file094.txt new file mode 100644 index 0000000000..53bec13c2b --- /dev/null +++ b/test-issue-5301/a/file094.txt @@ -0,0 +1 @@ +Content of file 94 \ No newline at end of file diff --git a/test-issue-5301/a/file095.txt b/test-issue-5301/a/file095.txt new file mode 100644 index 0000000000..be8025c6d2 --- /dev/null +++ b/test-issue-5301/a/file095.txt @@ -0,0 +1 @@ +Content of file 95 \ No newline at end of file diff --git a/test-issue-5301/a/file096.txt b/test-issue-5301/a/file096.txt new file mode 100644 index 0000000000..20dc2bbcc4 --- /dev/null +++ b/test-issue-5301/a/file096.txt @@ -0,0 +1 @@ +Content of file 96 \ No newline at end of file diff --git a/test-issue-5301/a/file097.txt b/test-issue-5301/a/file097.txt new file mode 100644 index 0000000000..5084e4aaff --- /dev/null +++ b/test-issue-5301/a/file097.txt @@ -0,0 +1 @@ +Content of file 97 \ No newline at end of file diff --git a/test-issue-5301/a/file098.txt b/test-issue-5301/a/file098.txt new file mode 100644 index 0000000000..11bfd67551 --- /dev/null +++ b/test-issue-5301/a/file098.txt @@ -0,0 +1 @@ +Content of file 98 \ No newline at end of file diff --git a/test-issue-5301/a/file099.txt b/test-issue-5301/a/file099.txt new file mode 100644 index 0000000000..ac8e900687 --- /dev/null +++ b/test-issue-5301/a/file099.txt @@ -0,0 +1 @@ +Content of file 99 \ No newline at end of file diff --git a/test-issue-5301/a/file100.txt b/test-issue-5301/a/file100.txt new file mode 100644 index 0000000000..7f4b81efb3 --- /dev/null +++ b/test-issue-5301/a/file100.txt @@ -0,0 +1 @@ +Content of file 100 \ No newline at end of file diff --git a/test-issue-5301/a/file101.txt b/test-issue-5301/a/file101.txt new file mode 100644 index 0000000000..f7fa39b059 --- /dev/null +++ b/test-issue-5301/a/file101.txt @@ -0,0 +1 @@ +Content of file 101 \ No newline at end of file diff --git a/test-issue-5301/a/file102.txt b/test-issue-5301/a/file102.txt new file mode 100644 index 0000000000..cd62b2ffd0 --- /dev/null +++ b/test-issue-5301/a/file102.txt @@ -0,0 +1 @@ +Content of file 102 \ No newline at end of file diff --git a/test-issue-5301/a/file103.txt b/test-issue-5301/a/file103.txt new file mode 100644 index 0000000000..8431733873 --- /dev/null +++ b/test-issue-5301/a/file103.txt @@ -0,0 +1 @@ +Content of file 103 \ No newline at end of file diff --git a/test-issue-5301/a/file104.txt b/test-issue-5301/a/file104.txt new file mode 100644 index 0000000000..120fded6a9 --- /dev/null +++ b/test-issue-5301/a/file104.txt @@ -0,0 +1 @@ +Content of file 104 \ No newline at end of file diff --git a/test-issue-5301/a/file105.txt b/test-issue-5301/a/file105.txt new file mode 100644 index 0000000000..5752a6ba07 --- /dev/null +++ b/test-issue-5301/a/file105.txt @@ -0,0 +1 @@ +Content of file 105 \ No newline at end of file diff --git a/test-issue-5301/a/file106.txt b/test-issue-5301/a/file106.txt new file mode 100644 index 0000000000..59d6ceef41 --- /dev/null +++ b/test-issue-5301/a/file106.txt @@ -0,0 +1 @@ +Content of file 106 \ No newline at end of file diff --git a/test-issue-5301/a/file107.txt b/test-issue-5301/a/file107.txt new file mode 100644 index 0000000000..a89b2cbc9a --- /dev/null +++ b/test-issue-5301/a/file107.txt @@ -0,0 +1 @@ +Content of file 107 \ No newline at end of file diff --git a/test-issue-5301/a/file108.txt b/test-issue-5301/a/file108.txt new file mode 100644 index 0000000000..41461fedd8 --- /dev/null +++ b/test-issue-5301/a/file108.txt @@ -0,0 +1 @@ +Content of file 108 \ No newline at end of file diff --git a/test-issue-5301/a/file109.txt b/test-issue-5301/a/file109.txt new file mode 100644 index 0000000000..5f67bf8a40 --- /dev/null +++ b/test-issue-5301/a/file109.txt @@ -0,0 +1 @@ +Content of file 109 \ No newline at end of file diff --git a/test-issue-5301/a/file110.txt b/test-issue-5301/a/file110.txt new file mode 100644 index 0000000000..10ebf10473 --- /dev/null +++ b/test-issue-5301/a/file110.txt @@ -0,0 +1 @@ +Content of file 110 \ No newline at end of file diff --git a/test-issue-5301/a/file111.txt b/test-issue-5301/a/file111.txt new file mode 100644 index 0000000000..159d7de6f4 --- /dev/null +++ b/test-issue-5301/a/file111.txt @@ -0,0 +1 @@ +Content of file 111 \ No newline at end of file diff --git a/test-issue-5301/a/file112.txt b/test-issue-5301/a/file112.txt new file mode 100644 index 0000000000..bb86458fe8 --- /dev/null +++ b/test-issue-5301/a/file112.txt @@ -0,0 +1 @@ +Content of file 112 \ No newline at end of file diff --git a/test-issue-5301/a/file113.txt b/test-issue-5301/a/file113.txt new file mode 100644 index 0000000000..d7d42f926d --- /dev/null +++ b/test-issue-5301/a/file113.txt @@ -0,0 +1 @@ +Content of file 113 \ No newline at end of file diff --git a/test-issue-5301/a/file114.txt b/test-issue-5301/a/file114.txt new file mode 100644 index 0000000000..7c679143cf --- /dev/null +++ b/test-issue-5301/a/file114.txt @@ -0,0 +1 @@ +Content of file 114 \ No newline at end of file diff --git a/test-issue-5301/a/file115.txt b/test-issue-5301/a/file115.txt new file mode 100644 index 0000000000..310dd6c3f4 --- /dev/null +++ b/test-issue-5301/a/file115.txt @@ -0,0 +1 @@ +Content of file 115 \ No newline at end of file diff --git a/test-issue-5301/a/file116.txt b/test-issue-5301/a/file116.txt new file mode 100644 index 0000000000..bd8d88c52b --- /dev/null +++ b/test-issue-5301/a/file116.txt @@ -0,0 +1 @@ +Content of file 116 \ No newline at end of file diff --git a/test-issue-5301/a/file117.txt b/test-issue-5301/a/file117.txt new file mode 100644 index 0000000000..74ab08685b --- /dev/null +++ b/test-issue-5301/a/file117.txt @@ -0,0 +1 @@ +Content of file 117 \ No newline at end of file diff --git a/test-issue-5301/a/file118.txt b/test-issue-5301/a/file118.txt new file mode 100644 index 0000000000..1e4f41b7c7 --- /dev/null +++ b/test-issue-5301/a/file118.txt @@ -0,0 +1 @@ +Content of file 118 \ No newline at end of file diff --git a/test-issue-5301/a/file119.txt b/test-issue-5301/a/file119.txt new file mode 100644 index 0000000000..5bebdc7717 --- /dev/null +++ b/test-issue-5301/a/file119.txt @@ -0,0 +1 @@ +Content of file 119 \ No newline at end of file diff --git a/test-issue-5301/a/file120.txt b/test-issue-5301/a/file120.txt new file mode 100644 index 0000000000..449b1a69fb --- /dev/null +++ b/test-issue-5301/a/file120.txt @@ -0,0 +1 @@ +Content of file 120 \ No newline at end of file diff --git a/test-issue-5301/a/file121.txt b/test-issue-5301/a/file121.txt new file mode 100644 index 0000000000..071df39d0b --- /dev/null +++ b/test-issue-5301/a/file121.txt @@ -0,0 +1 @@ +Content of file 121 \ No newline at end of file diff --git a/test-issue-5301/a/file122.txt b/test-issue-5301/a/file122.txt new file mode 100644 index 0000000000..3ba5014ac9 --- /dev/null +++ b/test-issue-5301/a/file122.txt @@ -0,0 +1 @@ +Content of file 122 \ No newline at end of file diff --git a/test-issue-5301/a/file123.txt b/test-issue-5301/a/file123.txt new file mode 100644 index 0000000000..e3b1e6c1d3 --- /dev/null +++ b/test-issue-5301/a/file123.txt @@ -0,0 +1 @@ +Content of file 123 \ No newline at end of file diff --git a/test-issue-5301/a/file124.txt b/test-issue-5301/a/file124.txt new file mode 100644 index 0000000000..462a3f50ee --- /dev/null +++ b/test-issue-5301/a/file124.txt @@ -0,0 +1 @@ +Content of file 124 \ No newline at end of file diff --git a/test-issue-5301/a/file125.txt b/test-issue-5301/a/file125.txt new file mode 100644 index 0000000000..65f4f3a47a --- /dev/null +++ b/test-issue-5301/a/file125.txt @@ -0,0 +1 @@ +Content of file 125 \ No newline at end of file diff --git a/test-issue-5301/a/file126.txt b/test-issue-5301/a/file126.txt new file mode 100644 index 0000000000..942202f87a --- /dev/null +++ b/test-issue-5301/a/file126.txt @@ -0,0 +1 @@ +Content of file 126 \ No newline at end of file diff --git a/test-issue-5301/a/file127.txt b/test-issue-5301/a/file127.txt new file mode 100644 index 0000000000..62b317e978 --- /dev/null +++ b/test-issue-5301/a/file127.txt @@ -0,0 +1 @@ +Content of file 127 \ No newline at end of file diff --git a/test-issue-5301/a/file128.txt b/test-issue-5301/a/file128.txt new file mode 100644 index 0000000000..21f70ea3f1 --- /dev/null +++ b/test-issue-5301/a/file128.txt @@ -0,0 +1 @@ +Content of file 128 \ No newline at end of file diff --git a/test-issue-5301/a/file129.txt b/test-issue-5301/a/file129.txt new file mode 100644 index 0000000000..239afc8bfa --- /dev/null +++ b/test-issue-5301/a/file129.txt @@ -0,0 +1 @@ +Content of file 129 \ No newline at end of file diff --git a/test-issue-5301/a/file130.txt b/test-issue-5301/a/file130.txt new file mode 100644 index 0000000000..7fa5531064 --- /dev/null +++ b/test-issue-5301/a/file130.txt @@ -0,0 +1 @@ +Content of file 130 \ No newline at end of file diff --git a/test-issue-5301/a/file131.txt b/test-issue-5301/a/file131.txt new file mode 100644 index 0000000000..c9eaae625d --- /dev/null +++ b/test-issue-5301/a/file131.txt @@ -0,0 +1 @@ +Content of file 131 \ No newline at end of file diff --git a/test-issue-5301/a/file132.txt b/test-issue-5301/a/file132.txt new file mode 100644 index 0000000000..1d87769844 --- /dev/null +++ b/test-issue-5301/a/file132.txt @@ -0,0 +1 @@ +Content of file 132 \ No newline at end of file diff --git a/test-issue-5301/a/file133.txt b/test-issue-5301/a/file133.txt new file mode 100644 index 0000000000..28f32b4535 --- /dev/null +++ b/test-issue-5301/a/file133.txt @@ -0,0 +1 @@ +Content of file 133 \ No newline at end of file diff --git a/test-issue-5301/a/file134.txt b/test-issue-5301/a/file134.txt new file mode 100644 index 0000000000..d815b860bf --- /dev/null +++ b/test-issue-5301/a/file134.txt @@ -0,0 +1 @@ +Content of file 134 \ No newline at end of file diff --git a/test-issue-5301/a/file135.txt b/test-issue-5301/a/file135.txt new file mode 100644 index 0000000000..4050510d76 --- /dev/null +++ b/test-issue-5301/a/file135.txt @@ -0,0 +1 @@ +Content of file 135 \ No newline at end of file diff --git a/test-issue-5301/a/file136.txt b/test-issue-5301/a/file136.txt new file mode 100644 index 0000000000..0860028ac2 --- /dev/null +++ b/test-issue-5301/a/file136.txt @@ -0,0 +1 @@ +Content of file 136 \ No newline at end of file diff --git a/test-issue-5301/a/file137.txt b/test-issue-5301/a/file137.txt new file mode 100644 index 0000000000..8bcb0cdafb --- /dev/null +++ b/test-issue-5301/a/file137.txt @@ -0,0 +1 @@ +Content of file 137 \ No newline at end of file diff --git a/test-issue-5301/a/file138.txt b/test-issue-5301/a/file138.txt new file mode 100644 index 0000000000..698d68ab6d --- /dev/null +++ b/test-issue-5301/a/file138.txt @@ -0,0 +1 @@ +Content of file 138 \ No newline at end of file diff --git a/test-issue-5301/a/file139.txt b/test-issue-5301/a/file139.txt new file mode 100644 index 0000000000..94b1494268 --- /dev/null +++ b/test-issue-5301/a/file139.txt @@ -0,0 +1 @@ +Content of file 139 \ No newline at end of file diff --git a/test-issue-5301/a/file140.txt b/test-issue-5301/a/file140.txt new file mode 100644 index 0000000000..f843573b26 --- /dev/null +++ b/test-issue-5301/a/file140.txt @@ -0,0 +1 @@ +Content of file 140 \ No newline at end of file diff --git a/test-issue-5301/a/file141.txt b/test-issue-5301/a/file141.txt new file mode 100644 index 0000000000..fdbe71ea2c --- /dev/null +++ b/test-issue-5301/a/file141.txt @@ -0,0 +1 @@ +Content of file 141 \ No newline at end of file diff --git a/test-issue-5301/a/file142.txt b/test-issue-5301/a/file142.txt new file mode 100644 index 0000000000..e209aa0d7a --- /dev/null +++ b/test-issue-5301/a/file142.txt @@ -0,0 +1 @@ +Content of file 142 \ No newline at end of file diff --git a/test-issue-5301/a/file143.txt b/test-issue-5301/a/file143.txt new file mode 100644 index 0000000000..92507bf5ce --- /dev/null +++ b/test-issue-5301/a/file143.txt @@ -0,0 +1 @@ +Content of file 143 \ No newline at end of file diff --git a/test-issue-5301/a/file144.txt b/test-issue-5301/a/file144.txt new file mode 100644 index 0000000000..255c64154e --- /dev/null +++ b/test-issue-5301/a/file144.txt @@ -0,0 +1 @@ +Content of file 144 \ No newline at end of file diff --git a/test-issue-5301/a/file145.txt b/test-issue-5301/a/file145.txt new file mode 100644 index 0000000000..b16c086b29 --- /dev/null +++ b/test-issue-5301/a/file145.txt @@ -0,0 +1 @@ +Content of file 145 \ No newline at end of file diff --git a/test-issue-5301/a/file146.txt b/test-issue-5301/a/file146.txt new file mode 100644 index 0000000000..cb14573c2c --- /dev/null +++ b/test-issue-5301/a/file146.txt @@ -0,0 +1 @@ +Content of file 146 \ No newline at end of file diff --git a/test-issue-5301/a/file147.txt b/test-issue-5301/a/file147.txt new file mode 100644 index 0000000000..aed15f83a2 --- /dev/null +++ b/test-issue-5301/a/file147.txt @@ -0,0 +1 @@ +Content of file 147 \ No newline at end of file diff --git a/test-issue-5301/a/file148.txt b/test-issue-5301/a/file148.txt new file mode 100644 index 0000000000..69c4ddab00 --- /dev/null +++ b/test-issue-5301/a/file148.txt @@ -0,0 +1 @@ +Content of file 148 \ No newline at end of file diff --git a/test-issue-5301/a/file149.txt b/test-issue-5301/a/file149.txt new file mode 100644 index 0000000000..20b907c62c --- /dev/null +++ b/test-issue-5301/a/file149.txt @@ -0,0 +1 @@ +Content of file 149 \ No newline at end of file diff --git a/test-issue-5301/a/file150.txt b/test-issue-5301/a/file150.txt new file mode 100644 index 0000000000..f3a930b736 --- /dev/null +++ b/test-issue-5301/a/file150.txt @@ -0,0 +1 @@ +Content of file 150 \ No newline at end of file diff --git a/test-issue-5301/a/file151.txt b/test-issue-5301/a/file151.txt new file mode 100644 index 0000000000..d0160235ef --- /dev/null +++ b/test-issue-5301/a/file151.txt @@ -0,0 +1 @@ +Content of file 151 \ No newline at end of file diff --git a/test-issue-5301/a/file152.txt b/test-issue-5301/a/file152.txt new file mode 100644 index 0000000000..ca659f9784 --- /dev/null +++ b/test-issue-5301/a/file152.txt @@ -0,0 +1 @@ +Content of file 152 \ No newline at end of file diff --git a/test-issue-5301/a/file153.txt b/test-issue-5301/a/file153.txt new file mode 100644 index 0000000000..d7aff66311 --- /dev/null +++ b/test-issue-5301/a/file153.txt @@ -0,0 +1 @@ +Content of file 153 \ No newline at end of file diff --git a/test-issue-5301/a/file154.txt b/test-issue-5301/a/file154.txt new file mode 100644 index 0000000000..955d4e0f77 --- /dev/null +++ b/test-issue-5301/a/file154.txt @@ -0,0 +1 @@ +Content of file 154 \ No newline at end of file diff --git a/test-issue-5301/a/file155.txt b/test-issue-5301/a/file155.txt new file mode 100644 index 0000000000..55e134a6bf --- /dev/null +++ b/test-issue-5301/a/file155.txt @@ -0,0 +1 @@ +Content of file 155 \ No newline at end of file diff --git a/test-issue-5301/a/file156.txt b/test-issue-5301/a/file156.txt new file mode 100644 index 0000000000..68dcca0ac5 --- /dev/null +++ b/test-issue-5301/a/file156.txt @@ -0,0 +1 @@ +Content of file 156 \ No newline at end of file diff --git a/test-issue-5301/a/file157.txt b/test-issue-5301/a/file157.txt new file mode 100644 index 0000000000..70250d8107 --- /dev/null +++ b/test-issue-5301/a/file157.txt @@ -0,0 +1 @@ +Content of file 157 \ No newline at end of file diff --git a/test-issue-5301/a/file158.txt b/test-issue-5301/a/file158.txt new file mode 100644 index 0000000000..27c2b334e6 --- /dev/null +++ b/test-issue-5301/a/file158.txt @@ -0,0 +1 @@ +Content of file 158 \ No newline at end of file diff --git a/test-issue-5301/a/file159.txt b/test-issue-5301/a/file159.txt new file mode 100644 index 0000000000..1590a41e32 --- /dev/null +++ b/test-issue-5301/a/file159.txt @@ -0,0 +1 @@ +Content of file 159 \ No newline at end of file diff --git a/test-issue-5301/a/file160.txt b/test-issue-5301/a/file160.txt new file mode 100644 index 0000000000..0cf304c247 --- /dev/null +++ b/test-issue-5301/a/file160.txt @@ -0,0 +1 @@ +Content of file 160 \ No newline at end of file diff --git a/test-issue-5301/a/file161.txt b/test-issue-5301/a/file161.txt new file mode 100644 index 0000000000..07cf9ce647 --- /dev/null +++ b/test-issue-5301/a/file161.txt @@ -0,0 +1 @@ +Content of file 161 \ No newline at end of file diff --git a/test-issue-5301/a/file162.txt b/test-issue-5301/a/file162.txt new file mode 100644 index 0000000000..f5faf5d177 --- /dev/null +++ b/test-issue-5301/a/file162.txt @@ -0,0 +1 @@ +Content of file 162 \ No newline at end of file diff --git a/test-issue-5301/a/file163.txt b/test-issue-5301/a/file163.txt new file mode 100644 index 0000000000..3c7e1e92cb --- /dev/null +++ b/test-issue-5301/a/file163.txt @@ -0,0 +1 @@ +Content of file 163 \ No newline at end of file diff --git a/test-issue-5301/a/file164.txt b/test-issue-5301/a/file164.txt new file mode 100644 index 0000000000..d5e6baf620 --- /dev/null +++ b/test-issue-5301/a/file164.txt @@ -0,0 +1 @@ +Content of file 164 \ No newline at end of file diff --git a/test-issue-5301/a/file165.txt b/test-issue-5301/a/file165.txt new file mode 100644 index 0000000000..65f10d04a3 --- /dev/null +++ b/test-issue-5301/a/file165.txt @@ -0,0 +1 @@ +Content of file 165 \ No newline at end of file diff --git a/test-issue-5301/a/file166.txt b/test-issue-5301/a/file166.txt new file mode 100644 index 0000000000..d5c78169e7 --- /dev/null +++ b/test-issue-5301/a/file166.txt @@ -0,0 +1 @@ +Content of file 166 \ No newline at end of file diff --git a/test-issue-5301/a/file167.txt b/test-issue-5301/a/file167.txt new file mode 100644 index 0000000000..895dcfcf57 --- /dev/null +++ b/test-issue-5301/a/file167.txt @@ -0,0 +1 @@ +Content of file 167 \ No newline at end of file diff --git a/test-issue-5301/a/file168.txt b/test-issue-5301/a/file168.txt new file mode 100644 index 0000000000..e81f73965b --- /dev/null +++ b/test-issue-5301/a/file168.txt @@ -0,0 +1 @@ +Content of file 168 \ No newline at end of file diff --git a/test-issue-5301/a/file169.txt b/test-issue-5301/a/file169.txt new file mode 100644 index 0000000000..f6dfcc48de --- /dev/null +++ b/test-issue-5301/a/file169.txt @@ -0,0 +1 @@ +Content of file 169 \ No newline at end of file diff --git a/test-issue-5301/a/file170.txt b/test-issue-5301/a/file170.txt new file mode 100644 index 0000000000..c80c6edd17 --- /dev/null +++ b/test-issue-5301/a/file170.txt @@ -0,0 +1 @@ +Content of file 170 \ No newline at end of file diff --git a/test-issue-5301/a/file171.txt b/test-issue-5301/a/file171.txt new file mode 100644 index 0000000000..cae6831392 --- /dev/null +++ b/test-issue-5301/a/file171.txt @@ -0,0 +1 @@ +Content of file 171 \ No newline at end of file diff --git a/test-issue-5301/a/file172.txt b/test-issue-5301/a/file172.txt new file mode 100644 index 0000000000..9dcaf53036 --- /dev/null +++ b/test-issue-5301/a/file172.txt @@ -0,0 +1 @@ +Content of file 172 \ No newline at end of file diff --git a/test-issue-5301/a/file173.txt b/test-issue-5301/a/file173.txt new file mode 100644 index 0000000000..8f7b4a3a24 --- /dev/null +++ b/test-issue-5301/a/file173.txt @@ -0,0 +1 @@ +Content of file 173 \ No newline at end of file diff --git a/test-issue-5301/a/file174.txt b/test-issue-5301/a/file174.txt new file mode 100644 index 0000000000..d811119c97 --- /dev/null +++ b/test-issue-5301/a/file174.txt @@ -0,0 +1 @@ +Content of file 174 \ No newline at end of file diff --git a/test-issue-5301/a/file175.txt b/test-issue-5301/a/file175.txt new file mode 100644 index 0000000000..111e3331e8 --- /dev/null +++ b/test-issue-5301/a/file175.txt @@ -0,0 +1 @@ +Content of file 175 \ No newline at end of file diff --git a/test-issue-5301/a/file176.txt b/test-issue-5301/a/file176.txt new file mode 100644 index 0000000000..4c802c4c87 --- /dev/null +++ b/test-issue-5301/a/file176.txt @@ -0,0 +1 @@ +Content of file 176 \ No newline at end of file diff --git a/test-issue-5301/a/file177.txt b/test-issue-5301/a/file177.txt new file mode 100644 index 0000000000..bde900c13a --- /dev/null +++ b/test-issue-5301/a/file177.txt @@ -0,0 +1 @@ +Content of file 177 \ No newline at end of file diff --git a/test-issue-5301/a/file178.txt b/test-issue-5301/a/file178.txt new file mode 100644 index 0000000000..5894cefa30 --- /dev/null +++ b/test-issue-5301/a/file178.txt @@ -0,0 +1 @@ +Content of file 178 \ No newline at end of file diff --git a/test-issue-5301/a/file179.txt b/test-issue-5301/a/file179.txt new file mode 100644 index 0000000000..264db130fc --- /dev/null +++ b/test-issue-5301/a/file179.txt @@ -0,0 +1 @@ +Content of file 179 \ No newline at end of file diff --git a/test-issue-5301/a/file180.txt b/test-issue-5301/a/file180.txt new file mode 100644 index 0000000000..40432201b7 --- /dev/null +++ b/test-issue-5301/a/file180.txt @@ -0,0 +1 @@ +Content of file 180 \ No newline at end of file diff --git a/test-issue-5301/a/file181.txt b/test-issue-5301/a/file181.txt new file mode 100644 index 0000000000..32ddb6a17e --- /dev/null +++ b/test-issue-5301/a/file181.txt @@ -0,0 +1 @@ +Content of file 181 \ No newline at end of file diff --git a/test-issue-5301/a/file182.txt b/test-issue-5301/a/file182.txt new file mode 100644 index 0000000000..340b42c9fa --- /dev/null +++ b/test-issue-5301/a/file182.txt @@ -0,0 +1 @@ +Content of file 182 \ No newline at end of file diff --git a/test-issue-5301/a/file183.txt b/test-issue-5301/a/file183.txt new file mode 100644 index 0000000000..737289d36c --- /dev/null +++ b/test-issue-5301/a/file183.txt @@ -0,0 +1 @@ +Content of file 183 \ No newline at end of file diff --git a/test-issue-5301/a/file184.txt b/test-issue-5301/a/file184.txt new file mode 100644 index 0000000000..5285ef797f --- /dev/null +++ b/test-issue-5301/a/file184.txt @@ -0,0 +1 @@ +Content of file 184 \ No newline at end of file diff --git a/test-issue-5301/a/file185.txt b/test-issue-5301/a/file185.txt new file mode 100644 index 0000000000..6380b39fb4 --- /dev/null +++ b/test-issue-5301/a/file185.txt @@ -0,0 +1 @@ +Content of file 185 \ No newline at end of file diff --git a/test-issue-5301/a/file186.txt b/test-issue-5301/a/file186.txt new file mode 100644 index 0000000000..4c3acbd0cf --- /dev/null +++ b/test-issue-5301/a/file186.txt @@ -0,0 +1 @@ +Content of file 186 \ No newline at end of file diff --git a/test-issue-5301/a/file187.txt b/test-issue-5301/a/file187.txt new file mode 100644 index 0000000000..c966432958 --- /dev/null +++ b/test-issue-5301/a/file187.txt @@ -0,0 +1 @@ +Content of file 187 \ No newline at end of file diff --git a/test-issue-5301/a/file188.txt b/test-issue-5301/a/file188.txt new file mode 100644 index 0000000000..681c2329d4 --- /dev/null +++ b/test-issue-5301/a/file188.txt @@ -0,0 +1 @@ +Content of file 188 \ No newline at end of file diff --git a/test-issue-5301/a/file189.txt b/test-issue-5301/a/file189.txt new file mode 100644 index 0000000000..7465d8eaed --- /dev/null +++ b/test-issue-5301/a/file189.txt @@ -0,0 +1 @@ +Content of file 189 \ No newline at end of file diff --git a/test-issue-5301/a/file190.txt b/test-issue-5301/a/file190.txt new file mode 100644 index 0000000000..6605a83350 --- /dev/null +++ b/test-issue-5301/a/file190.txt @@ -0,0 +1 @@ +Content of file 190 \ No newline at end of file diff --git a/test-issue-5301/a/file191.txt b/test-issue-5301/a/file191.txt new file mode 100644 index 0000000000..dcb1ec8109 --- /dev/null +++ b/test-issue-5301/a/file191.txt @@ -0,0 +1 @@ +Content of file 191 \ No newline at end of file diff --git a/test-issue-5301/a/file192.txt b/test-issue-5301/a/file192.txt new file mode 100644 index 0000000000..64eb381938 --- /dev/null +++ b/test-issue-5301/a/file192.txt @@ -0,0 +1 @@ +Content of file 192 \ No newline at end of file diff --git a/test-issue-5301/a/file193.txt b/test-issue-5301/a/file193.txt new file mode 100644 index 0000000000..89932ce55e --- /dev/null +++ b/test-issue-5301/a/file193.txt @@ -0,0 +1 @@ +Content of file 193 \ No newline at end of file diff --git a/test-issue-5301/a/file194.txt b/test-issue-5301/a/file194.txt new file mode 100644 index 0000000000..854fcd2ff6 --- /dev/null +++ b/test-issue-5301/a/file194.txt @@ -0,0 +1 @@ +Content of file 194 \ No newline at end of file diff --git a/test-issue-5301/a/file195.txt b/test-issue-5301/a/file195.txt new file mode 100644 index 0000000000..60409329c6 --- /dev/null +++ b/test-issue-5301/a/file195.txt @@ -0,0 +1 @@ +Content of file 195 \ No newline at end of file diff --git a/test-issue-5301/a/file196.txt b/test-issue-5301/a/file196.txt new file mode 100644 index 0000000000..1cbba43811 --- /dev/null +++ b/test-issue-5301/a/file196.txt @@ -0,0 +1 @@ +Content of file 196 \ No newline at end of file diff --git a/test-issue-5301/a/file197.txt b/test-issue-5301/a/file197.txt new file mode 100644 index 0000000000..f6fcb643ef --- /dev/null +++ b/test-issue-5301/a/file197.txt @@ -0,0 +1 @@ +Content of file 197 \ No newline at end of file diff --git a/test-issue-5301/a/file198.txt b/test-issue-5301/a/file198.txt new file mode 100644 index 0000000000..d440578939 --- /dev/null +++ b/test-issue-5301/a/file198.txt @@ -0,0 +1 @@ +Content of file 198 \ No newline at end of file diff --git a/test-issue-5301/a/file199.txt b/test-issue-5301/a/file199.txt new file mode 100644 index 0000000000..3b37dd0993 --- /dev/null +++ b/test-issue-5301/a/file199.txt @@ -0,0 +1 @@ +Content of file 199 \ No newline at end of file diff --git a/test-issue-5301/a/file200.txt b/test-issue-5301/a/file200.txt new file mode 100644 index 0000000000..0f88951d7c --- /dev/null +++ b/test-issue-5301/a/file200.txt @@ -0,0 +1 @@ +Content of file 200 \ No newline at end of file diff --git a/test-issue-5301/b/important-file1.txt b/test-issue-5301/b/important-file1.txt new file mode 100644 index 0000000000..e0034cf948 --- /dev/null +++ b/test-issue-5301/b/important-file1.txt @@ -0,0 +1 @@ +Important content 1 \ No newline at end of file diff --git a/test-issue-5301/b/important-file2.txt b/test-issue-5301/b/important-file2.txt new file mode 100644 index 0000000000..42871d231a --- /dev/null +++ b/test-issue-5301/b/important-file2.txt @@ -0,0 +1 @@ +Important content 2 \ No newline at end of file diff --git a/test-issue-5301/b/important-file3.txt b/test-issue-5301/b/important-file3.txt new file mode 100644 index 0000000000..7186a62763 --- /dev/null +++ b/test-issue-5301/b/important-file3.txt @@ -0,0 +1 @@ +Important content 3 \ No newline at end of file diff --git a/test-reproduce-issue.js b/test-reproduce-issue.js new file mode 100644 index 0000000000..d735ec6614 --- /dev/null +++ b/test-reproduce-issue.js @@ -0,0 +1,30 @@ +const fs = require("fs") +const path = require("path") + +// Create test directory structure to reproduce the issue +const testDir = "./test-issue-5301" + +// Clean up if exists +if (fs.existsSync(testDir)) { + fs.rmSync(testDir, { recursive: true }) +} + +// Create the test structure +fs.mkdirSync(testDir) +fs.mkdirSync(path.join(testDir, "a")) +fs.mkdirSync(path.join(testDir, "b")) + +// Create 200 files in folder 'a' +for (let i = 1; i <= 200; i++) { + fs.writeFileSync(path.join(testDir, "a", `file${i.toString().padStart(3, "0")}.txt`), `Content of file ${i}`) +} + +// Create some files in folder 'b' +fs.writeFileSync(path.join(testDir, "b", "important-file1.txt"), "Important content 1") +fs.writeFileSync(path.join(testDir, "b", "important-file2.txt"), "Important content 2") +fs.writeFileSync(path.join(testDir, "b", "important-file3.txt"), "Important content 3") + +console.log("Test directory structure created:") +console.log(`- ${testDir}/a/ contains 200 files`) +console.log(`- ${testDir}/b/ contains 3 files`) +console.log("Total: 203 files + 2 directories") diff --git a/test-small-case.js b/test-small-case.js new file mode 100644 index 0000000000..30c525eca8 --- /dev/null +++ b/test-small-case.js @@ -0,0 +1,30 @@ +const fs = require("fs") +const path = require("path") + +// Create a smaller test case to verify the fix +const testDir = "./test-small-case" + +// Clean up if exists +if (fs.existsSync(testDir)) { + fs.rmSync(testDir, { recursive: true }) +} + +// Create the test structure +fs.mkdirSync(testDir) +fs.mkdirSync(path.join(testDir, "a")) +fs.mkdirSync(path.join(testDir, "b")) + +// Create 10 files in folder 'a' +for (let i = 1; i <= 10; i++) { + fs.writeFileSync(path.join(testDir, "a", `file${i.toString().padStart(2, "0")}.txt`), `Content of file ${i}`) +} + +// Create 3 files in folder 'b' +fs.writeFileSync(path.join(testDir, "b", "important-file1.txt"), "Important content 1") +fs.writeFileSync(path.join(testDir, "b", "important-file2.txt"), "Important content 2") +fs.writeFileSync(path.join(testDir, "b", "important-file3.txt"), "Important content 3") + +console.log("Small test directory structure created:") +console.log(`- ${testDir}/a/ contains 10 files`) +console.log(`- ${testDir}/b/ contains 3 files`) +console.log("Total: 13 files + 2 directories") diff --git a/test-small-case/a/file01.txt b/test-small-case/a/file01.txt new file mode 100644 index 0000000000..5728ca8d44 --- /dev/null +++ b/test-small-case/a/file01.txt @@ -0,0 +1 @@ +Content of file 1 \ No newline at end of file diff --git a/test-small-case/a/file02.txt b/test-small-case/a/file02.txt new file mode 100644 index 0000000000..b0df1fb85c --- /dev/null +++ b/test-small-case/a/file02.txt @@ -0,0 +1 @@ +Content of file 2 \ No newline at end of file diff --git a/test-small-case/a/file03.txt b/test-small-case/a/file03.txt new file mode 100644 index 0000000000..a5fb386f32 --- /dev/null +++ b/test-small-case/a/file03.txt @@ -0,0 +1 @@ +Content of file 3 \ No newline at end of file diff --git a/test-small-case/a/file04.txt b/test-small-case/a/file04.txt new file mode 100644 index 0000000000..6589d8cf1e --- /dev/null +++ b/test-small-case/a/file04.txt @@ -0,0 +1 @@ +Content of file 4 \ No newline at end of file diff --git a/test-small-case/a/file05.txt b/test-small-case/a/file05.txt new file mode 100644 index 0000000000..9bb364d2a3 --- /dev/null +++ b/test-small-case/a/file05.txt @@ -0,0 +1 @@ +Content of file 5 \ No newline at end of file diff --git a/test-small-case/a/file06.txt b/test-small-case/a/file06.txt new file mode 100644 index 0000000000..760ab81863 --- /dev/null +++ b/test-small-case/a/file06.txt @@ -0,0 +1 @@ +Content of file 6 \ No newline at end of file diff --git a/test-small-case/a/file07.txt b/test-small-case/a/file07.txt new file mode 100644 index 0000000000..063f5cfb54 --- /dev/null +++ b/test-small-case/a/file07.txt @@ -0,0 +1 @@ +Content of file 7 \ No newline at end of file diff --git a/test-small-case/a/file08.txt b/test-small-case/a/file08.txt new file mode 100644 index 0000000000..a493a540d8 --- /dev/null +++ b/test-small-case/a/file08.txt @@ -0,0 +1 @@ +Content of file 8 \ No newline at end of file diff --git a/test-small-case/a/file09.txt b/test-small-case/a/file09.txt new file mode 100644 index 0000000000..b3a56a81ae --- /dev/null +++ b/test-small-case/a/file09.txt @@ -0,0 +1 @@ +Content of file 9 \ No newline at end of file diff --git a/test-small-case/a/file10.txt b/test-small-case/a/file10.txt new file mode 100644 index 0000000000..595b124017 --- /dev/null +++ b/test-small-case/a/file10.txt @@ -0,0 +1 @@ +Content of file 10 \ No newline at end of file diff --git a/test-small-case/b/important-file1.txt b/test-small-case/b/important-file1.txt new file mode 100644 index 0000000000..e0034cf948 --- /dev/null +++ b/test-small-case/b/important-file1.txt @@ -0,0 +1 @@ +Important content 1 \ No newline at end of file diff --git a/test-small-case/b/important-file2.txt b/test-small-case/b/important-file2.txt new file mode 100644 index 0000000000..42871d231a --- /dev/null +++ b/test-small-case/b/important-file2.txt @@ -0,0 +1 @@ +Important content 2 \ No newline at end of file diff --git a/test-small-case/b/important-file3.txt b/test-small-case/b/important-file3.txt new file mode 100644 index 0000000000..7186a62763 --- /dev/null +++ b/test-small-case/b/important-file3.txt @@ -0,0 +1 @@ +Important content 3 \ No newline at end of file