match_patterns 362 builtin/branch.c if (!match_patterns(cb->pattern, refname)) match_patterns 674 builtin/branch.c if (detached && match_patterns(pattern, "HEAD"))