summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-12-09 22:24:11 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-12-14 12:03:12 +0200
commit8a480237f6442a87f14aed2137b72b4d21fcae4f (patch)
treec45fccfb164d520436b1ba79fa2c6eb84ae4dc82 /.gitignore
parent5c4f9e3ae3f06d97453e18230dc55caacb0ea6fe (diff)
libcamera: Restrict .gitignore build/ and patches/ to the root directory
The build/ and patches/ directories are listed in .gitignore as they're commonly used respectively as the meson build directory (this is the directory name used in README.rst) and as a local patches store (this usage pattern isn't official though, and may need to be reconsidered if not used anymore). As those two directories are supposed to be at the root of the source tree, restrict the corresponding .gitignore patterns to avoid matching other locations. While at it, sort the entries alphabetically, with the absolute path entries separate from the entries that match any location within the source tree. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore7
1 files changed, 4 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index d3d73615..f6d1d68e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,8 @@
# SPDX-License-Identifier: CC0-1.0
-__pycache__/
-build/
-patches/
+/build/
+/patches/
+
*.patch
*.pyc
+__pycache__/