diff --git a/.gitignore b/.gitignore index f722641c44..e6ad88c1ab 100644 --- a/.gitignore +++ b/.gitignore @@ -63,8 +63,6 @@ libconftest.dylib* *.pyc *.o *.o-* -*.patch -!depends/patches/*/*.patch *.a *.pb.cc *.pb.h @@ -76,6 +74,10 @@ libconftest.dylib* *.json.h *.raw.h +# Only ignore unexpected patches +*.patch +!depends/patches/*.patch + #libtool object files *.lo *.la