{"thread":{"id":"60104","subject":"git ls-files --others not leveraging core.untrackedCache","startedAt":"2023-08-11T05:19:40Z","lastAt":"2023-08-11T05:19:40Z","messageCount":1,"participants":["Sebastian Silbermann"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"480525","messageId":"CAE_ah1-D4jAu6Ak71pAVDWo97H9hEOqMZznreOoV5B-NCuSSEg@mail.gmail.com","threadId":"60104","inReplyTo":null,"subject":"git ls-files --others not leveraging core.untrackedCache","fromName":"Sebastian Silbermann","fromEmail":"sebastian.silbermann@klarna.com","sentAt":"2023-08-11T05:19:13Z","receivedAt":"2023-08-11T05:19:40Z","isPatch":false,"sender":{"key":"sebastian.silbermann@klarna.com","avatar":null},"body":"Thank you for filling out a Git bug report!\nPlease answer the following questions to help us understand your issue.\n\nWhat did you do before the bug happened? (Steps to reproduce your issue)\n\n`git ls-files '*.gitattributes'   --exclude-standard --others`\n\nCalling `git ls-files` including untracked files is slow in\nrepositories with large untracked folders despite\n`core.untrackedCache` being enabled.\n\nWhat did you expect to happen? (Expected behavior)\n\nJust like a repeated `git status` with `core.untrackedCache true`\ntakes no longer than .3s, a `git ls-files` should also leverage the\nsame cache.\n\nWhat happened instead? (Actual behavior)\n\nCalling `git ls-files` including untracked files is slow in\nrepositories with large untracked folders despite\n`core.untrackedCache` being enabled.\n\nWhat's different between what you expected and what actually happened?\n\n4s for the above-mentioned `git ls-files ...` instead of .3s\n\nAnything else you want to add:\n\nNo\n\nNoticed during investigation of https://github.com/git-lfs/git-lfs/issues/5453\n\nPlease review the rest of the bug report below.\nYou can delete any lines you don't wish to share.\n\n\n[System Info]\ngit version:\ngit version 2.37.1 (Apple Git-137.1)\ncpu: arm64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nfeature: fsmonitor--daemon\nuname: Darwin 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:20\nPDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 arm64\ncompiler info: clang: 14.0.0 (clang-1400.0.29.202)\nlibc info: no libc information available\n$SHELL (typically, interactive shell): /bin/zsh\n\n\n[Enabled Hooks]\ncommit-msg\npost-checkout\npost-commit\npost-merge\npre-commit\npre-push\nprepare-commit-msg\n\n\n-- \n\nSebastian Silbermann\n"}]}