-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement git.untrackedChanges preference #11256
Implement git.untrackedChanges preference #11256
Conversation
13ffa26
to
90eb3b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I have pushed a commit that updates the registrations for those actions to include the untracked section. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes work well for me 👍
I confirmed that all three preference values work well, with different nested structures. Git operations on the nodes also work well and are properly handled by all three preference values.
What it does
Fixes #11253 by implementing the
git.untrackedChanges
preference.How to test
git.untrackedChanges
preference:mixed
, untracked and modified should be shown together, as they are onmaster
.separate
, untracked and modified should be shown separately.hidden
, untracked files should not be shown in the SCM view.list
andtree
view modes of the SCM tree.Stage All
command now ignores untracked files unlessgit.untrackedFiles
is set tomixed
, and is disabled if there is nothing to stage.Review checklist
Reminder for reviewers