summaryrefslogtreecommitdiff
path: root/merge-file.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-06-07 14:53:36 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-06-07 11:33:38 -0700
commitf9f6e2ce26e25661245a6faaf0b254524c1bfbd4 (patch)
tree92715b56b06f8a42bd1a17fbfb8d6d83106aa78d /merge-file.c
parentdir.c: get rid of the wildcard symbol set in no_wildcard() (diff)
downloadtgif-f9f6e2ce26e25661245a6faaf0b254524c1bfbd4.tar.xz
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 'merge-file.c')
0 files changed, 0 insertions, 0 deletions