commit | 3ae5396cf719000039c5d0d35f9bf934f647b030 | [log] [tgz] |
---|---|---|
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | Mon Oct 15 13:25:57 2012 +0700 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Oct 15 14:58:18 2012 -0700 |
tree | a12424227ae05d6db8c52c405b06ea7c5fcc09f9 | |
parent | f1cf7b798305787d5d1272c13ead207e3e04a183 [diff] |
wildmatch: make wildmatch's return value compatible with fnmatch wildmatch returns non-zero if matched, zero otherwise. This patch makes it return zero if matches, non-zero otherwise, like fnmatch(). Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>