From 7779c1e1490955c3e4fa3f26b18174a4db77a3f8 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 10 Mar 2024 17:59:18 -0500 Subject: [PATCH] branch2.cpp --- src/branch2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/branch2.cpp b/src/branch2.cpp index b7475041..dedd8ca0 100644 --- a/src/branch2.cpp +++ b/src/branch2.cpp @@ -78,6 +78,8 @@ Branch2::matches_exclude(ghc::filesystem::path const &path_) const int rv; rv = ::fnmatch(pattern.c_str(),path,FNM_EXTMATCH); + if(rv == 0) + return true; } return false;