mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-114178: Fix generate_sbom.py for out-of-tree builds (#114179)
This commit is contained in:
parent
8cf37f244f
commit
7a0ac89b29
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ def filter_gitignored_paths(paths: list[str]) -> list[str]:
|
|||
# Non-matching files show up as '::<whitespace><path>'
|
||||
git_check_ignore_proc = subprocess.run(
|
||||
["git", "check-ignore", "--verbose", "--non-matching", *paths],
|
||||
cwd=CPYTHON_ROOT_DIR,
|
||||
check=False,
|
||||
stdout=subprocess.PIPE,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue