]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-83417: Allow `venv` to add a `.gitignore` file to environments via a new `scm_igno...
authorBrett Cannon <brett@python.org>
Fri, 15 Sep 2023 22:38:08 +0000 (15:38 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Sep 2023 22:38:08 +0000 (22:38 +0000)
commite218e5022eef369573808a4f8dda9aeeab663750
tree326b79a4ee92623e0beb4ccc773c8b324d8458cc
parent6b179adb8c05801bf069121b360531d135ee3f44
GH-83417: Allow `venv` to add a `.gitignore` file to environments via a new `scm_ignore_file` parameter (GH-108125)

This feature is off by default via code but on by default via the CLI. The `.gitignore` file contains `*` which causes the entire directory to be ignored.

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/library/venv.rst
Doc/using/venv-create.inc
Doc/whatsnew/3.13.rst
Lib/test/test_venv.py
Lib/venv/__init__.py
Lib/venv/__main__.py
Misc/NEWS.d/next/Library/2023-08-18-22-58-07.gh-issue-83417.61J4yM.rst [new file with mode: 0644]