summaryrefslogtreecommitdiff
path: root/pathspec.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-07-14 15:35:59 +0700
committerJunio C Hamano <gitster@pobox.com>2013-07-15 10:56:09 -0700
commit9a0872744315da67db3c81eb9270751e31fcc8f5 (patch)
tree92cd78dc92a8f8f482592e05f678e4a069c0fe33 /pathspec.h
parentbd1928df1d1cc6a10a7b275694d3504d9a041fae (diff)
downloadgit-9a0872744315da67db3c81eb9270751e31fcc8f5.tar.gz
remove init_pathspec() in favor of parse_pathspec()
While at there, move free_pathspec() to pathspec.c 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 'pathspec.h')
-rw-r--r--pathspec.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/pathspec.h b/pathspec.h
index 02dded322f..cadd46cca5 100644
--- a/pathspec.h
+++ b/pathspec.h
@@ -53,7 +53,6 @@ struct pathspec {
#define PATHSPEC_PREFIX_ORIGIN (1<<6)
#define PATHSPEC_KEEP_ORDER (1<<7)
-extern int init_pathspec(struct pathspec *, const char **);
extern void parse_pathspec(struct pathspec *pathspec,
unsigned magic_mask,
unsigned flags,