~ruther/qmk_firmware

0b1bed1d41951fa039227a6737be470628df8466 — precondition 3 years ago ef80a1d
Use --exclude-from=.gitignore in place of --exclude-standard (#17399)

1 files changed, 2 insertions(+), 2 deletions(-)

M lib/python/qmk/git.py
M lib/python/qmk/git.py => lib/python/qmk/git.py +2 -2
@@ 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()