* git ls-files --others not leveraging core.untrackedCache
@ 2023-08-11 5:19 Sebastian Silbermann
0 siblings, 0 replies; only message in thread
From: Sebastian Silbermann @ 2023-08-11 5:19 UTC (permalink / raw
To: git
Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.
What did you do before the bug happened? (Steps to reproduce your issue)
`git ls-files '*.gitattributes' --exclude-standard --others`
Calling `git ls-files` including untracked files is slow in
repositories with large untracked folders despite
`core.untrackedCache` being enabled.
What did you expect to happen? (Expected behavior)
Just like a repeated `git status` with `core.untrackedCache true`
takes no longer than .3s, a `git ls-files` should also leverage the
same cache.
What happened instead? (Actual behavior)
Calling `git ls-files` including untracked files is slow in
repositories with large untracked folders despite
`core.untrackedCache` being enabled.
What's different between what you expected and what actually happened?
4s for the above-mentioned `git ls-files ...` instead of .3s
Anything else you want to add:
No
Noticed during investigation of https://github.com/git-lfs/git-lfs/issues/5453
Please review the rest of the bug report below.
You can delete any lines you don't wish to share.
[System Info]
git version:
git version 2.37.1 (Apple Git-137.1)
cpu: arm64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
uname: Darwin 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:20
PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 arm64
compiler info: clang: 14.0.0 (clang-1400.0.29.202)
libc info: no libc information available
$SHELL (typically, interactive shell): /bin/zsh
[Enabled Hooks]
commit-msg
post-checkout
post-commit
post-merge
pre-commit
pre-push
prepare-commit-msg
--
Sebastian Silbermann
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-11 5:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-11 5:19 git ls-files --others not leveraging core.untrackedCache Sebastian Silbermann
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).