data status: show untracked files in normal mode
See original GitHub issueFrom https://github.com/iterative/dvc.org/pull/3812#discussion_r931002653:
Is it a performance optimization?
It no longer is, or will no longer be of performance concern. We didn’t have
--untracked-files=normal
support in dulwich so we had to use--untracked-files=all
, so it’d be noisy and slow if you have too many untracked files.But thanks to @dtrifiro’s great work in pygit2, the
git.status()
is about 30x faster. Plus, we now have--untracked-files=normal
support in pygit2, which will be much faster even for a very large repository. So there’s no performance issue now if we decide to revisit. See iterative/scmrepo#118.(I have been testing a repo with 150,000 untracked files from a dataset, and
--untracked-files=normal
takes ~20ms now)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
git-status Documentation - Git
Show untracked files. The mode parameter is used to specify the handling of untracked files. ... normal - Shows untracked files and directories....
Read more >Get git not to show untracked files - Stack Overflow
The possible options are: · no - Show no untracked files · normal - Shows untracked files and directories · all - Also...
Read more >Show untracked files with `git status` | michaelheap.com
Customise how `git` shows untracked folders and files in your repository using the `-u` flag, or the `showUntrackedFiles` config option.
Read more >How to Properly Remove Untracked Files With Git - CloudBees
In this post, learn how to remove untracked files with Git. We'll begin with a brief explanation followed by examples and best practices....
Read more >How to Remove Untracked Files in Git - Linode
They appear in the output of commands such as git status as untracked files. This makes it more difficult to tell what files...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe we can even get rid of the flag, enable
--untracked-files=normal
by default and change to--untracked-files=all
when--granular
is used.@dberenbaum, we have the support for this in upstream now.