From 71694d6a4715b1ec8893e0d3266b2b3d368cec83 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 28 Sep 2019 20:49:49 +0300 Subject: Adapt to swapping of entry and pattern parameters in butl::path_match() --- bpkg/fetch-git.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpkg/fetch-git.cxx b/bpkg/fetch-git.cxx index abfed42..8c3f719 100644 --- a/bpkg/fetch-git.cxx +++ b/bpkg/fetch-git.cxx @@ -718,7 +718,7 @@ namespace bpkg path p (n); for (const ref& rf: *this) { - if (!rf.peeled && path_match (p, path (rf.name))) + if (!rf.peeled && path_match (path (rf.name), p)) { // Note that the same name can be matched by different patterns // (like /refs/** and /refs/tags/**), so we need to suppress -- cgit v1.1