dir.c: get rid of the wildcard symbol set in no_wildcard()
commitfcd631ed84d61147b7cc8996cde533f8a8d1fca0
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 7 Jun 2012 07:53:35 +0000 (7 14:53 +0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Jun 2012 18:33:37 +0000 (7 11:33 -0700)
tree8805b3d101b59ef82bb99db033d0c66893085830
parent35a94d44afd5d46bd9675d74925bac73a9839066
dir.c: get rid of the wildcard symbol set in no_wildcard()

Elsewhere in this file is_glob_special() is also used to check for
wildcards, which is defined in ctype. Make no_wildcard() also use this
function (indirectly via simple_length())

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c