git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] match_name_as_path: Pass WM_CASEFOLD to wildmatch
@ 2017-09-07 13:51 Aleksandr Makarov
  2017-09-07 14:50 ` Jeff King
  0 siblings, 1 reply; 2+ messages in thread
From: Aleksandr Makarov @ 2017-09-07 13:51 UTC (permalink / raw)
  To: git

---
  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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-07 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-07 13:51 [PATCH] match_name_as_path: Pass WM_CASEFOLD to wildmatch Aleksandr Makarov
2017-09-07 14:50 ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).