mirror of
https://github.com/python/cpython.git
synced 2024-11-23 09:54:58 +08:00
5e5e951502
There were about 14 files that are actually in the repo but that are
covered by the rules in .gitignore.
Git itself takes no notice of what .gitignore says about files that
it's already tracking... but the discrepancy can be confusing to a
human that adds a new file unexpectedly covered by these rules, as
well as to non-Git software that looks at .gitignore but doesn't
implement this wrinkle in its semantics. (E.g., `rg`.)
Several of these are from rules that apply more broadly than
intended: for example, `Makefile` applies to `Doc/Makefile` and
`Tools/freeze/test/Makefile`, whereas `/Makefile` means only the
`Makefile` at the repo's root.
And the `Modules/Setup` rule simply wasn't updated after 961d54c5c
.
https://bugs.python.org/issue37936
115 lines
1.5 KiB
Plaintext
115 lines
1.5 KiB
Plaintext
# Two-trick pony for OSX and other case insensitive file systems:
|
|
# Ignore ./python binary on Unix but still look into ./Python/ directory.
|
|
/python
|
|
!/Python/
|
|
|
|
*.cover
|
|
*.iml
|
|
*.o
|
|
*.orig
|
|
*.pyc
|
|
*.pyd
|
|
*.pyo
|
|
*.rej
|
|
*.swp
|
|
*~
|
|
*.gc??
|
|
*.profclang?
|
|
*.profraw
|
|
*.dyn
|
|
.gdb_history
|
|
Doc/build/
|
|
Doc/venv/
|
|
Doc/.venv/
|
|
Doc/env/
|
|
Doc/.env/
|
|
Include/pydtrace_probes.h
|
|
Lib/distutils/command/*.pdb
|
|
Lib/lib2to3/*.pickle
|
|
Lib/test/data/*
|
|
!Lib/test/data/README
|
|
/Makefile
|
|
Makefile.pre
|
|
Misc/python.pc
|
|
Misc/python-embed.pc
|
|
Misc/python-config.sh
|
|
Modules/Setup.config
|
|
Modules/Setup.local
|
|
Modules/config.c
|
|
Modules/ld_so_aix
|
|
Programs/_freeze_importlib
|
|
Programs/_freeze_importlib.exe
|
|
Programs/_testembed
|
|
Programs/_testembed.exe
|
|
PC/python_nt*.h
|
|
PC/pythonnt_rc*.h
|
|
PC/*/*.exe
|
|
PC/*/*.exp
|
|
PC/*/*.lib
|
|
PC/*/*.bsc
|
|
PC/*/*.dll
|
|
PC/*/*.pdb
|
|
PC/*/*.user
|
|
PC/*/*.ncb
|
|
PC/*/*.suo
|
|
PC/*/Win32-temp-*
|
|
PC/*/x64-temp-*
|
|
PC/*/amd64
|
|
PCbuild/*.user
|
|
PCbuild/*.suo
|
|
PCbuild/*.*sdf
|
|
PCbuild/*-pgi
|
|
PCbuild/*-pgo
|
|
PCbuild/*.VC.db
|
|
PCbuild/*.VC.opendb
|
|
PCbuild/.vs/
|
|
PCbuild/amd64/
|
|
PCbuild/arm32/
|
|
PCbuild/arm64/
|
|
PCbuild/obj/
|
|
PCbuild/win32/
|
|
Tools/unicode/data/
|
|
.purify
|
|
__pycache__
|
|
autom4te.cache
|
|
build/
|
|
buildno
|
|
config.cache
|
|
config.log
|
|
config.status
|
|
config.status.lineno
|
|
core
|
|
!Tools/msi/core/
|
|
db_home
|
|
.hg/
|
|
.idea/
|
|
ipch/
|
|
libpython*.a
|
|
libpython*.so*
|
|
libpython*.dylib
|
|
libpython*.dll
|
|
platform
|
|
pybuilddir.txt
|
|
/pyconfig.h
|
|
python-config
|
|
python-config.py
|
|
python.bat
|
|
python.exe
|
|
python-gdb.py
|
|
python.exe-gdb.py
|
|
reflog.txt
|
|
.svn/
|
|
tags
|
|
TAGS
|
|
.coverage
|
|
coverage/
|
|
externals/
|
|
htmlcov/
|
|
Tools/msi/obj
|
|
Tools/ssl/amd64
|
|
Tools/ssl/win32
|
|
.vs/
|
|
.vscode/
|
|
gmon.out
|
|
.mypy_cache/
|