summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-11-27 01:17:44 +0700
committerJunio C Hamano <gitster@pobox.com>2010-11-29 13:34:55 -0800
commit0fd0e2417d383168b6a510f78c754298435a89ce (patch)
treedee86e1208ab33e967d9108232f7fb7b89d34800 /dir.h
parent2977ffbbe134e0fe9bc8aa3643e2d40111643c23 (diff)
downloadgit-0fd0e2417d383168b6a510f78c754298435a89ce.tar.gz
dir.c: add free_excludes()
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 'dir.h')
-rw-r--r--dir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dir.h b/dir.h
index 278d84cdf7..ce55008298 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);