From 93bdf23e31c96b9ddb3343e5cb20a43604bbf4f3 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Tue, 23 Nov 2021 21:22:30 +0100 Subject: [PATCH] Gitignore the build directories, but not /tools/build/ Consolidate other local ignores into the main one, as all the ignores are generic. --- .gitignore | 12 +++++++++--- psycopg/.gitignore | 2 -- psycopg_c/.gitignore | 3 --- psycopg_pool/.gitignore | 2 -- 4 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 psycopg/.gitignore delete mode 100644 psycopg_c/.gitignore delete mode 100644 psycopg_pool/.gitignore diff --git a/.gitignore b/.gitignore index 7fac87251..c16890583 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,5 @@ *.egg-info/ .tox -/.eggs/ -./build/ -dist/ *.pstats .mypy_cache __pycache__/ @@ -13,3 +10,12 @@ __pycache__/ .venv .coverage htmlcov + +.eggs/ +dist/ +# Spelling these explicitly because we have /scripts/build/ to not ignore +# but I still want 'ag' to avoid looking here. +/build/ +/psycopg/build/ +/psycopg_c/build/ +/psycopg_pool/build/ diff --git a/psycopg/.gitignore b/psycopg/.gitignore deleted file mode 100644 index 2247d5f95..000000000 --- a/psycopg/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/build -/dist diff --git a/psycopg_c/.gitignore b/psycopg_c/.gitignore deleted file mode 100644 index 635af62c5..000000000 --- a/psycopg_c/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.eggs -/build -/dist diff --git a/psycopg_pool/.gitignore b/psycopg_pool/.gitignore deleted file mode 100644 index 2247d5f95..000000000 --- a/psycopg_pool/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/build -/dist -- 2.47.2