[mini.extra] pickers.git_files scope='untracked' behavior
#2434
-
Contributing guidelines
Module(s)mini.extra QuestionI wanted to browse the new files created in the repo.
local args = ({
tracked = { '--cached' },
modified = { '--modified' },
untracked = { '--others' },
ignored = { '--others', '--ignored', '--exclude-standard' },
deleted = { '--deleted' },
})[local_opts.scope]
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Technically, this is a documented behavior. The ignored files are (in some sense) not tracked. But yeah, I agree that there needs to be a way to pick only "added" files.
Not quite, as it doesn't show purely "added" files. I'll take a look. |
Beta Was this translation helpful? Give feedback.
-
|
After having some time to reconsider, I do now think that This should now be fixed on the latest |
Beta Was this translation helpful? Give feedback.
After having some time to reconsider, I do now think that
scope="untracked"was meant to act like described here. I.e. it should show only untracked files that are meant to be tracked.This should now be fixed on the latest
main. Thanks for bringing this up!