[PATCH] libtracefs .gitignore: only ignore patches/ at top level

Benjamin Drung <[email protected]> Fri, 29 May 2026 15:48:44 +0200
Newsgroups org.kernel.vger.linux-trace-devel
Message-ID <[email protected]>
The Debian packaging of libtracefs might carry patches in
`debian/patches/` but the `.gitignore` file will ignore this directory.

So tighten the `.gitignore` to only ignore a `patches` directory in the
top-level of the git repository.

Signed-off-by: Benjamin Drung <[email protected]>
---
 .gitignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 7e61473..125c115 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,7 +6,7 @@ TAGS
 tags
 lib/
 bin/
-patches/
+/patches/
 build_prefix
 build_uninstall
 tfs_version.h
--=20
2.53.0