summaryrefslogtreecommitdiff
path: root/wildmatch.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-10-15 06:25:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-10-15 21:58:17 (GMT)
commitfeabcc173b7a5f55c2b1ec78f230276c63ae4d36 (patch)
tree54d1d16fa85bcd0a76b7099bf2a12139f82fb994 /wildmatch.c
parent327f2f3ebb2310653e78244293f6f34b28571142 (diff)
downloadgit-feabcc173b7a5f55c2b1ec78f230276c63ae4d36.zip
git-feabcc173b7a5f55c2b1ec78f230276c63ae4d36.tar.gz
git-feabcc173b7a5f55c2b1ec78f230276c63ae4d36.tar.bz2
Integrate wildmatch to git
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 'wildmatch.c')
-rw-r--r--wildmatch.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wildmatch.c b/wildmatch.c
index 4653dd6..ac29471 100644
--- a/wildmatch.c
+++ b/wildmatch.c
@@ -9,7 +9,10 @@
** work differently than '*', and to fix the character-class code.
*/
-#include "rsync.h"
+#include "cache.h"
+#include "wildmatch.h"
+
+typedef unsigned char uchar;
/* What character marks an inverted character class? */
#define NEGATE_CLASS '!'