Skip to content

Commit

Permalink
libcamera: Restrict .gitignore build/ and patches/ to the root directory
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>
Reviewed-by: Jacopo Mondi <[email protected]>
  • Loading branch information
pinchartl committed Dec 14, 2021
1 parent 5c4f9e3 commit 8a48023
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# SPDX-License-Identifier: CC0-1.0

__pycache__/
build/
patches/
/build/
/patches/

*.patch
*.pyc
__pycache__/

0 comments on commit 8a48023

Please sign in to comment.