-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Include untracked files with --gitignore option
The current `--gitignore` option correctly ignores files which are "ignored" by git, but the `--ignore` option to `git ls-files` does not include untracked files in it's output. These can be detected using `git ls-files --others --exclude-standard`. Combine the two calls into a single deduplicated gitignore list to ignore all files properly.
- Loading branch information
1 parent
8f2df53
commit b25bb81
Showing
2 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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