summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-12-22 14:40:26 -0800
committerJunio C Hamano <gitster@pobox.com>2010-12-22 14:40:26 -0800
commite39212ab08e8d37dda5d8fd32b54099fe01dbbdb (patch)
treeacfce393969ebf4d2404a4619c84553e761803e7 /dir.h
parent716958c9a23cbb4bf671dc89e094742e8ec41793 (diff)
parent9e082734b3a7c2685c1593dae8dca1e73568d51c (diff)
downloadgit-e39212ab08e8d37dda5d8fd32b54099fe01dbbdb.tar.gz
Merge branch 'nd/maint-fix-add-typo-detection'
* nd/maint-fix-add-typo-detection: Revert "excluded_1(): support exclude files in index" unpack-trees: fix sparse checkout's "unable to match directories" unpack-trees: move all skip-worktree checks back to unpack_trees() dir.c: add free_excludes() cache.h: realign and use (1 << x) form for CE_* constants
Diffstat (limited to 'dir.h')
-rw-r--r--dir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dir.h b/dir.h
index b3e2104b9f..72a764ed84 100644
--- a/dir.h
+++ b/dir.h
@@ -78,6 +78,7 @@ extern int add_excludes_from_file_to_list(const char *fname, const char *base, i
extern void add_excludes_from_file(struct dir_struct *, const char *fname);
extern void add_exclude(const char *string, const char *base,
int baselen, struct exclude_list *which);
+extern void free_excludes(struct exclude_list *el);
extern int file_exists(const char *);
extern char *get_relative_cwd(char *buffer, int size, const char *dir);