aboutsummaryrefslogtreecommitdiff
path: root/wildmatch.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-10-15 13:25:55 +0700
committerJunio C Hamano <gitster@pobox.com>2012-10-15 14:58:17 -0700
commitfeabcc173b7a5f55c2b1ec78f230276c63ae4d36 (patch)
tree54d1d16fa85bcd0a76b7099bf2a12139f82fb994 /wildmatch.c
parent327f2f3ebb2310653e78244293f6f34b28571142 (diff)
downloadgit-feabcc173b7a5f55c2b1ec78f230276c63ae4d36.tar.gz
git-feabcc173b7a5f55c2b1ec78f230276c63ae4d36.tar.xz
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 4653dd6eb..ac2947166 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 '!'