feat(setqflist): include untracked files with 'all' target#1475
Merged
lewis6991 merged 1 commit intolewis6991:mainfrom Feb 4, 2026
Merged
Conversation
126a4d5 to
3975999
Compare
…enabled
When using setqflist('all'), untracked files are now included in the
quickfix list if the attach_to_untracked config option is enabled.
Closes lewis6991#829
3975999 to
2a6ffa0
Compare
Owner
|
Why did you remove the "Assisted with claude code" from the PR description? |
Contributor
Author
@lewis6991 I was not sure weather this would be something you would accept on the pull request |
Owner
|
You should always include this disclosure. |
Contributor
Author
Ok, I updated the comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
setqflist('all')is called andattach_to_untrackedis enabled, untracked files are now included in the quickfix listfiles_changed()accepts a newinclude_untrackedparameter: uses??status fromgit status --porcelain(default base) orgit ls-files --others --exclude-standard(custom base)"all"target to document the new behaviorCloses #829
Test plan
attach_to_untracked = truein config:Gitsigns setqflist alland verify the untracked file appears in the quickfix listattach_to_untracked = falseand verify untracked files are excludedconfig.baseto verify untracked files are included vials-filesAssisted with claude code