From: Nguyễn Thái Ngọc Duy Date: Sun, 18 Nov 2012 09:13:06 +0000 (+0700) Subject: pathspec: save the non-wildcard length part X-Git-Tag: v1.8.2-rc0~188^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/170260ae90cb6a0fec476e7d970e3ac3e81e98f5?ds=inline;hp=170260ae90cb6a0fec476e7d970e3ac3e81e98f5 pathspec: save the non-wildcard length part We mark pathspec with wildcards with the field use_wildcard. We could do better by saving the length of the non-wildcard part, which can be used for optimizations such as f9f6e2c (exclude: do strcmp as much as possible before fnmatch - 2012-06-07). Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---