From: Karthik Nayak Date: Thu, 10 Sep 2015 15:48:26 +0000 (+0530) Subject: ref-filter: add option to match literal pattern X-Git-Tag: v2.7.0-rc0~137^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/bef0e12becd72b94d6bb9e48859742f55a4afb53?hp=bef0e12becd72b94d6bb9e48859742f55a4afb53 ref-filter: add option to match literal pattern Since 'ref-filter' only has an option to match path names add an option for plain fnmatch pattern-matching. This is to support the pattern matching options which are used in `git tag -l` and `git branch -l` where we can match patterns like `git tag -l foo*` which would match all tags which has a "foo*" pattern. Mentored-by: Christian Couder Mentored-by: Matthieu Moy Signed-off-by: Karthik Nayak Signed-off-by: Junio C Hamano ---