summaryrefslogtreecommitdiff
path: root/upload-pack.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-06-07 14:53:36 +0700
committerJunio C Hamano <gitster@pobox.com>2012-06-07 11:33:38 -0700
commitf9f6e2ce26e25661245a6faaf0b254524c1bfbd4 (patch)
tree92715b56b06f8a42bd1a17fbfb8d6d83106aa78d /upload-pack.c
parentfcd631ed84d61147b7cc8996cde533f8a8d1fca0 (diff)
downloadgit-f9f6e2ce26e25661245a6faaf0b254524c1bfbd4.tar.gz
exclude: do strcmp as much as possible before fnmatch
this also avoids calling fnmatch() if the non-wildcard prefix is longer than basename Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions