From: Jeff Hostetler Date: Tue, 15 Nov 2022 16:39:47 GMT Subject: Re: [PATCH v5] status: long status advice adapted to recent capabilities Message-ID: <454089ac-3d0d-9820-26a4-e5650c2604d2@jeffhostetler.com> In-Reply-To: On 11/10/22 3:04 PM, Rudy Rigot via GitGitGadget wrote: > From: Rudy Rigot > > Improve the advice displayed when `git status` is slow because > of excessive numbers of untracked files. Update the `git status` > man page to explain the various configuration options. > > `git status` can be slow when there are a large number of untracked > files and directories, because Git must search the entire worktree > to enumerate them. Previously, Git would print an advice message > with the elapsed search time and a suggestion to disable the search > using the `-uno` option. This suggestion also carried a warning > that might scare off some users. > > Git can reduce the size and time of the untracked file search when > the `core.untrackedCache` and `core.fsmonitor` features are enabled > by caching results from previous `git status` invocations. > > Update the advice to explain the various combinations of additional > configuration options and refer to (new) documentation in the man > page that explains it in more detail than what can be printed in an > advice message. > > Finally, add new tests to verify the new functionality. > > Signed-off-by: Rudy Rigot I think V5 looks good. Thanks for your persistence! Jeff