diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-28 20:49:49 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-28 20:49:49 +0300 |
commit | 71694d6a4715b1ec8893e0d3266b2b3d368cec83 (patch) | |
tree | 1ba5f30cad6153f485ea4d447097aedb3b1338a9 | |
parent | 2aa96d090ad5d0428c0355a88ff543cab303f106 (diff) |
Adapt to swapping of entry and pattern parameters in butl::path_match()
-rw-r--r-- | bpkg/fetch-git.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |