summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-04 20:24:30 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-04 20:24:30 (GMT)
commit013e7c7ff498aae82d799f80da37fbd395545456 (patch)
tree25116c39be6efafeba226fb7d04b4fbaa04624d3 /cache.h
parentf71925983ddc365c167559ecc623f2c000607cda (diff)
downloadgit-013e7c7ff498aae82d799f80da37fbd395545456.zip
git-013e7c7ff498aae82d799f80da37fbd395545456.tar.gz
git-013e7c7ff498aae82d799f80da37fbd395545456.tar.bz2
Move ref path matching to connect.c library
It's a generic thing for matching refs from the other side.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 52842a0..c79c70f 100644
--- a/cache.h
+++ b/cache.h
@@ -261,6 +261,7 @@ struct pack_entry {
extern int git_connect(int fd[2], char *url, const char *prog);
extern int finish_connect(pid_t pid);
+extern int path_match(const char *path, int nr, char **match);
extern void prepare_packed_git(void);
extern int use_packed_git(struct packed_git *);