git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] match_name_as_path: Pass WM_CASEFOLD to wildmatch

From
AMAleksandr Makarov <aleksandr.o.makarov@gmail.com>
Date
Sep 7, 2017, 13:51 UTC
Message-ID
<79c946a2-532e-1c9b-7bf2-1f1ccbff721e@gmail.com>
---
  ref-filter.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ref-filter.c b/ref-filter.c
index bc591f4..3746628 100644
--- a/ref-filter.c
+++ b/ref-filter.c
@@ -1663,7 +1663,7 @@ static int match_name_as_path(const struct ref_filter *filter, const char *refna
  		     refname[plen] == '/' ||
  		     p[plen-1] == '/'))
  			return 1;
-		if (!wildmatch(p, refname, WM_PATHNAME))
+		if (!wildmatch(p, refname, flags))
  			return 1;
  	}
  	return 0;
-- 
2.7.4
Next: Jeff King
Message 1 of 2 in “match_name_as_path: Pass WM_CASEFOLD to wildmatch”
  1. match_name_as_path: Pass WM_CASEFOLD to wildmatchAleksandr Makarov, Sep 7, 2017
  2. Jeff KingSep 7, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.