diff options
author | precondition <57645186+precondition@users.noreply.github.com> | 2022-06-16 20:20:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 11:20:12 -0700 |
commit | 0b1bed1d41951fa039227a6737be470628df8466 (patch) | |
tree | 467f050c14bd5248fa2dbae2dda5e17e10b58e10 | |
parent | ef80a1dd670d443737f1191a2557e42ad54e56bc (diff) | |
download | qmk_firmware-0b1bed1d41951fa039227a6737be470628df8466.tar.gz qmk_firmware-0b1bed1d41951fa039227a6737be470628df8466.zip |
Use --exclude-from=.gitignore in place of --exclude-standard (#17399)
-rw-r--r-- | lib/python/qmk/git.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/git.py b/lib/python/qmk/git.py index f493628492..960184a0a2 100644 --- a/lib/python/qmk/git.py +++ b/lib/python/qmk/git.py @@ -111,9 +111,9 @@ def git_check_deviation(active_branch): def git_get_ignored_files(check_dir='.'): - """Return a list of files that would be captured by the current .gitingore + """Return a list of files that would be captured by the current .gitignore """ - invalid = cli.run(['git', 'ls-files', '-c', '-o', '-i', '--exclude-standard', check_dir]) + invalid = cli.run(['git', 'ls-files', '-c', '-o', '-i', '--exclude-from=.gitignore', check_dir]) if invalid.returncode != 0: return [] return invalid.stdout.strip().splitlines() |